API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
This library provides a set of functions to serialize JSON values to construct JSON text. All JSON strings are assumed to be in utf8 format.
The API is strictly linear in building JSON. Each method appends its data to the end of the JSON string being generated. If the original buffer runs out of space, JSONGen creates a new buffer using the provided allocator function and expands it as necessary.
The serialization code uses simple heuristics in inserting separators in appropriate places. However, it cannot catch any significant formatting errors such as PutObject() followed by EndArray() etc.