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.
Status

JSON BinPack is under heavy development. This page aims to document what's missing. If you want to fund JSON BinPack's development, please consider becoming a sponsor.

Mapper

Defined in Compiler.

Category Status
Any Partial. Does not handle oneOf
Array Missing implementation
Object Missing implementation
String Missing implementation

Encodings

Defined in Runtime.

Encoding Type Notes
ONEOF_CHOICE_INDEX_PREFIX Any Encodings Missing implementation
BOUNDED_TYPED_LENGTH_PREFIX Array Encodings Missing implementation
REQUIRED_ONLY_BOUNDED_TYPED_OBJECT Object Encodings Missing implementation
NON_REQUIRED_BOUNDED_TYPED_OBJECT Object Encodings Missing implementation
MIXED_BOUNDED_TYPED_OBJECT Object Encodings Missing implementation
REQUIRED_UNBOUNDED_TYPED_OBJECT Object Encodings Missing implementation
OPTIONAL_UNBOUNDED_TYPED_OBJECT Object Encodings Missing implementation
MIXED_UNBOUNDED_TYPED_OBJECT Object Encodings Missing implementation
PACKED_BOUNDED_REQUIRED_OBJECT Object Encodings Missing implementation
PACKED_UNBOUNDED_OBJECT Object Encodings Missing implementation
URL_PROTOCOL_HOST_REST String Encodings Missing implementation
STRING_BROTLI String Encodings Missing implementation
STRING_DICTIONARY_COMPRESSOR String Encodings Missing implementation

JSON Schema keywords

A set of remaining keywords that JSON BinPack is expected to cover, without which a schema-less encoding is often unacceptable.

Keyword Vocabulary Dialect
$ref Core 2020-12
$anchor Core 2020-12
$dynamicRef Core 2020-12
$dynamicAnchor Core 2020-12
allOf Applicator 2020-12
anyOf Applicator 2020-12
oneOf Applicator 2020-12
if Applicator 2020-12
then Applicator 2020-12
else Applicator 2020-12
not Applicator 2020-12
propertyNames Applicator 2020-12
dependentSchemas Applicator 2020-12
unevaluatedProperties Unevaluated 2020-12
unevaluatedItems Unevaluated 2020-12
contentSchema Content 2020-12
contentMediaType Content 2020-12
contentEncoding Content 2020-12

Other

  • Support for recursive schemas
  • Deploy an online web playground