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.
Loading...
Searching...
No Matches
Runtime

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

Topics

 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

Functions

SOURCEMETA_JSONBINPACK_RUNTIME_EXPORT auto sourcemeta::jsonbinpack::load (const sourcemeta::core::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

Initial value:
std::variant<
The encoding consists of the the integer value divided by the multiplier encoded as a ZigZag-encoded ...
Definition runtime_encoding.h:218
The encoding consists of the byte-length of the string minus minimum plus 1 as an 8-bit fixed-length ...
Definition runtime_encoding.h:732
The encoding consists of the length of the array minus minimum encoded as an 8-bit fixed-length unsig...
Definition runtime_encoding.h:912
The encoding consists of the integer value divided by the multiplier, minus the ceil of minimum divid...
Definition runtime_encoding.h:104
The encoding consists of an index to the enumeration choices encoded as an 8-bit fixed-length unsigne...
Definition runtime_encoding.h:365
The constant input value is not encoded.
Definition runtime_encoding.h:460
The encoding consists of a sequence of two integers: The signed integer that results from concatenati...
Definition runtime_encoding.h:268
The encoding consists of each pair encoded as the key followed by the value according to key_encoding...
Definition runtime_encoding.h:1062
The encoding consists of the elements of the fixed array encoded in order. The encoding of the elemen...
Definition runtime_encoding.h:863
The encoding consists of the integer value divided by the multiplier, minus the ceil of minimum divid...
Definition runtime_encoding.h:145
The encoding consists of the length of the array minus minimum encoded as a Base-128 64-bit Little En...
Definition runtime_encoding.h:960
The encoding consists of the byte-length of the string minus minimum plus 1 as a Base-128 64-bit Litt...
Definition runtime_encoding.h:618
The encoding consists of an index to the enumeration choices encoded as a Base-128 64-bit Little Endi...
Definition runtime_encoding.h:399
The encoding consists of a sequence of two integers. The first is the signed coefficient of the numbe...
Definition runtime_encoding.h:319
The encoding consists of the byte-length of the string plus 1 as a Base-128 64-bit Little Endian vari...
Definition runtime_encoding.h:820
The encoding consists of an implementation of RFC3339 date expressions as the sequence of 3 integers:...
Definition runtime_encoding.h:775
The encoding consists of the floor of maximum divided by the multiplier, minus the integer value divi...
Definition runtime_encoding.h:183
The encoding consists of maximum minus the length of the array encoded as a Base-128 64-bit Little En...
Definition runtime_encoding.h:1005
The encoding consists of maximum minus the byte-length of the string plus 1 as a Base-128 64-bit Litt...
Definition runtime_encoding.h:672
If the input value corresponds to the index 0 to the enumeration choices, the encoding stores no data...
Definition runtime_encoding.h:438
The encoding consist in the UTF-8 encoding of the input string.
Definition runtime_encoding.h:564
The encoding consists of the number of key-value pairs in the input object as a Base-128 64-bit Littl...
Definition runtime_encoding.h:1108

Represents an encoding