|
CX Framework
Cross-platform C utility framework
|
JSON serialization interface. More...
Go to the source code of this file.
Macros | |
| #define | JSON_Indent(x) (x & JSON_Indent_Mask) |
| #define | jsonOutTree(sb, tree, ...) _jsonOutTree(sb, tree, opt_flags(__VA_ARGS__), (SSDLockState*)_ssdCurrentLockState) |
| #define | jsonTreeToString(out, tree, ...) _jsonTreeToString(out, tree, opt_flags(__VA_ARGS__), (SSDLockState*)_ssdCurrentLockState) |
Enumerations | |
| enum | JSON_OUT_FLAGS { JSON_Indent_Mask = 0x0000001f , JSON_Compact = 0x00000100 , JSON_Single_Line = 0x00000200 , JSON_ASCII_Only = 0x00000400 , JSON_Unix_EOL = 0x00010000 , JSON_Windows_EOL = 0x00020000 , JSON_Pretty = 0x00000004 , JSON_Minimal = 0x00000300 } |
| JSON output formatting flags. More... | |
Functions | |
| JSONOut * | jsonOutBegin (StreamBuffer *sb, flags_t flags) |
| bool | jsonOut (JSONOut *jo, JSONParseEvent *ev) |
| void | jsonOutEnd (JSONOut **jo) |
JSON serialization interface.
Definition in file jsonout.h.