JSON BinPack  0.0.1
A space-efficient open-source binary JSON serialization format based on JSON Schema with both schema-driven and schema-less support.
Runtime

The encoder/decoder parts of JSON BinPack. More...

Modules

 Integer Encodings
 
 Number Encodings
 
 Any Encodings
 
 String Encodings
 
 Array Encodings
 
 Object Encodings
 

Classes

class  sourcemeta::jsonbinpack::EncodingError
 
class  sourcemeta::jsonbinpack::Decoder
 
class  sourcemeta::jsonbinpack::Encoder
 
class  sourcemeta::jsonbinpack::InputStream
 
class  sourcemeta::jsonbinpack::OutputStream
 

Typedefs

using sourcemeta::jsonbinpack::Encoding = std::variant< BOUNDED_MULTIPLE_8BITS_ENUM_FIXED, FLOOR_MULTIPLE_ENUM_VARINT, ROOF_MULTIPLE_MIRROR_ENUM_VARINT, ARBITRARY_MULTIPLE_ZIGZAG_VARINT, DOUBLE_VARINT_TUPLE, BYTE_CHOICE_INDEX, LARGE_CHOICE_INDEX, TOP_LEVEL_BYTE_CHOICE_INDEX, CONST_NONE, ANY_PACKED_TYPE_TAG_BYTE_PREFIX, UTF8_STRING_NO_LENGTH, FLOOR_VARINT_PREFIX_UTF8_STRING_SHARED, ROOF_VARINT_PREFIX_UTF8_STRING_SHARED, BOUNDED_8BIT_PREFIX_UTF8_STRING_SHARED, RFC3339_DATE_INTEGER_TRIPLET, PREFIX_VARINT_LENGTH_STRING_SHARED, FIXED_TYPED_ARRAY, BOUNDED_8BITS_TYPED_ARRAY, FLOOR_TYPED_ARRAY, ROOF_TYPED_ARRAY, FIXED_TYPED_ARBITRARY_OBJECT, VARINT_TYPED_ARBITRARY_OBJECT >
 

Functions

SOURCEMETA_JSONBINPACK_RUNTIME_EXPORT auto sourcemeta::jsonbinpack::load (const sourcemeta::jsontoolkit::JSON &input) -> Encoding
 

Detailed Description

The encoder/decoder parts of JSON BinPack.

This functionality is included as follows:

#include <sourcemeta/jsonbinpack/runtime.h>

Typedef Documentation

◆ Encoding