json
Libraries to manipulate JSON strings.
Both dynamic
and static
modules provide at least a method to parse a
value written in JSON, but only static
provide a method to translate a
value into JSON.
The dynamic
module provides a simple interface to get information
from a JSON document. You must be careful as all services are provided on
each nodes and a wrongful use can abort
.
The static
module provides a common interface for anything that can be
translated into a JSON document. The provided parsing method return a
nullable Nit object that must then be type-checked before it can be used.
Content
- json (lib/json)
- dynamic: Dynamic interface to read JSON strings. (lib/json/dynamic.nit)
- error: Errors related to JSON parsing. (lib/json/error.nit)
- json: Libraries to manipulate JSON strings. (lib/json/json.nit)
- json_lexer: Lexer generated by nitcc for the grammar json (lib/json/json_lexer.nit)
- json_parser: Parser generated by nitcc for the grammar json (lib/json/json_parser.nit)
- json_test_parser: Standalone parser tester for the language json (lib/json/json_test_parser.nit)
- serialization: Handles serialization and deserialization of objects to/from JSON (lib/json/serialization.nit)
- static: Static interface to get Nit objects from a Json string. (lib/json/static.nit)
- store: Store and load json data. (lib/json/store.nit)