37 CborConvertAddMetadata = 1,
38 CborConvertTagsToObjects = 2,
39 CborConvertIgnoreTags = 0,
41 CborConvertObeyByteStringTags = 0,
42 CborConvertByteStringsToBase64Url = 4,
44 CborConvertRequireMapStringKeys = 0,
45 CborConvertStringifyMapKeys = 8,
47 CborConvertDefaultFlags = 0
51CBOR_INLINE_API CborError cbor_value_to_json(FILE *out,
const CborValue *value,
int flags)
> The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as wel...
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:811
This type contains one value parsed from the CBOR stream.
Definition cbor.h:341