Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Apache Namespace Reference

Detailed Description

JSON library

RFC8259 compliant JSON encoding and decoding library.

https://tools.ietf.org/html/rfc8259

This API generates UTF-8 encoded JSON, and writes it to the bucket brigade specified. All strings are verified as valid UTF-8 before processing, with invalid UTF-8 characters replaced.

This API parses UTF-8 encoded JSON, and returns the result as a set of structures. All JSON strings are unescaped. Any bad characters or formatting will cause parsing to be terminated and an error returned, along with the offset of the error.

Whitespace may be optionally preserved or ignored as required during generation and parsing.

The ordering of object keys is preserved, allowing the decode and encode process to reproduce an identical result. This maintains stable behaviour during unit tests.

XML library