fromJSON sThe JSON data provided in the given string or file is parsed using the Jansson library. The type of the return value will vary depending on the data.
Numbers will result in ZZ or RR objects, as appropriate.
|
|
Strings will result in strings.
|
JSON's true and false will result in the corresponding Macaulay2 booleans.
|
|
JSON's null will result in Macaulay2's null.
|
Objects will result in hash tables.
|
Arrays will result in lists.
|
The input may also be a file containing JSON data.
|
|
|
The object fromJSON is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/JSON.m2:385:0.