27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
* @brief Options to change the behavior when creating a JSON representation.
*/
typedef enum {
/** Optimize for readability */
OFJSONRepresentationOptionPretty = 0x01,
/** Generate JSON5 */
OFJSONRepresentationOptionJSON5 = 0x02,
OFJSONRepresentationOptionIsIdentifier = 0x10
} OFJSONRepresentationOptions;
/**
* @protocol OFJSONRepresentation OFJSONRepresentation.h ObjFW/ObjFW.h
*
* @brief A protocol implemented by classes that support encoding to a JSON
|
>
>
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
* @brief Options to change the behavior when creating a JSON representation.
*/
typedef enum {
/** Optimize for readability */
OFJSONRepresentationOptionPretty = 0x01,
/** Generate JSON5 */
OFJSONRepresentationOptionJSON5 = 0x02,
/** Sort keys alphabetically */
OFJSONRepresentationOptionSorted = 0x04,
OFJSONRepresentationOptionIsIdentifier = 0x10
} OFJSONRepresentationOptions;
/**
* @protocol OFJSONRepresentation OFJSONRepresentation.h ObjFW/ObjFW.h
*
* @brief A protocol implemented by classes that support encoding to a JSON
|