JSON format for network analysis
On February 26, 2019 the format was renamed from netJSON to netsJSON because of the collision with http://netjson.org/rfc.html.
C:\Users\batagelj\Documents\papers\2015\sreda1251\slides JSON in omrežja 1, 2 C:\Users\batagelj\Documents\papers\2016\sreda1257\slides JSON in omrežja 3 C:\Users\batagelj\Documents\papers\2017\INSNA\ws temporal Nets, JSON C:\Users\batagelj\Documents\papers\2016\EuSN\ws\slides net vis, JSON C:\Users\batagelj\Documents\papers\2015\ECPR\slides networks C:\Users\batagelj\Documents\papers\2020\UP\NetsJSON C:\Users\batagelj\Documents\papers\2017\Moscow\EDA\slides D:\vlado\docs\papers\2020\UP\NetsJSON D:\vlado\docs\papers\2016\EuSN\ws\slides D:\vlado\work\python\graph\SVG\EUSN D:\vlado\work\python\graph\JSON
> library(rjson) > testString <- c(1,2,3,4,NA,NaN,Inf,8,9) > testString [1] 1 2 3 4 NA NaN Inf 8 9 > toJSON(testString) [1] "[1,2,3,4,\"NA\",\"NaN\",\"Inf\",8,9]" > library(jsonlite) The following objects are masked from ‘package:rjson’: fromJSON, toJSON > J <- toJSON(testString) > J [1,2,3,4,"NA","NaN","Inf",8,9] > fromJSON(J) [1] 1 2 3 4 NA NaN Inf 8 9 >
json — JSON encoder and decoder — Python 3.8.2 … docs.python.org › library › json If allow_nan is true, their JavaScript equivalents ( NaN , Infinity , -Infinity ) will be used.