|
CX Framework
Cross-platform C utility framework
|
Macros | |
| #define | JSON_Indent(x) (x & JSON_Indent_Mask) |
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... | |
Configuration flags for JSON output formatting.
| #define JSON_Indent | ( | x | ) | (x & JSON_Indent_Mask) |
Helper macro to create indent flags
Use this to specify a custom number of spaces for indentation.
Example: JSON_Indent(2) for 2-space indent
| enum JSON_OUT_FLAGS |
JSON output formatting flags.