37 CborConvertAddMetadata = 1,
38 CborConvertTagsToObjects = 2,
39 CborConvertIgnoreTags = 0,
41 CborConvertObeyByteStringTags = 0,
42 CborConvertByteStringsToBase64Url = 4,
44 CborConvertRequireMapStringKeys = 0,
45 CborConvertStringifyMapKeys = 8,
47 CborConvertDefaultFlags = 0
CborError
The CborError enum contains the possible error values used by the CBOR encoder and decoder...
Definition: cbor.h:152
CborError cbor_value_to_json(FILE *out, const CborValue *value, int flags)
Converts the current CBOR type pointed to by value to JSON and writes that to the out stream...
Definition: cborjson.h:51
CborError cbor_value_to_json_advance(FILE *out, CborValue *value, int flags)
Converts the current CBOR type pointed to by value to JSON and writes that to the out stream...
Definition: cbortojson.c:680
The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as well ...
This type contains one value parsed from the CBOR stream.
Definition: cbor.h:283
CborToJsonFlags
The CborToJsonFlags enum contains flags that control the conversion of CBOR to JSON.
Definition: cborjson.h:35