nxt.json

Extensions to std.json.

Test: dmd -preview=dip1000 -preview=in -vcolumns -I.. -i -debug -unittest -version=integration_test -main -run json.d

Members

Functions

parseJSONWithHashComments
JSONValue parseJSONWithHashComments(const(char)[] json, JSONOptions options)

Parse JSON without its comments.

readJSON
JSONValue readJSON(FilePath path, JSONOptions options, DirPath cacheDir, bool stripComments)

Read JSON from file at path via options, optionally cached in cacheDir. If cacheDir is set try to read a cached result inside cacheDir, using binary (de)serialization functions defined in nxt.serialization.

Meta