WORKFLOW
Generate JSON
Export Wolfram Language expressions as JSON, UBJSON or ExpressionJSON.
To a File...
Write an expression to a JSON file:
If the filename’s extension is not “.json”, specify the file’s type explicitly:
To a File as ExpressionJSON...
Write an expression to an ExpressionJSON file:
- ExpressionJSON provides lossless round-tripping of Wolfram Language expressions to and from JSON.
Notes
Use ExportString to export to a string rather than a file:
The output is a string: