jsonencodenan¶
JSONENCODENAN - encode a JSON object allowing Nan/Infinity
T = JSONENCODENAN(OBJ)
Encodes the Matlab variable OBJ into a JSON object in a manner that
allows the use of NaN and -Inf and Inf.
JSONENCODE is called with 1 argument or 2 (Matlab 2018b) to ensure
these numbers are allowed.
See also: JSONENCODE