Introduction
UBJSON, Universal Binary JSON, is a binary format
designed to be fully compatible with JSON
while staying simple and compact. Its authors recommend the extension
.ubj.
Structure
There is one construct: a one-byte ASCII type marker, followed where needed by a length and the data. Values such as null need only the marker. Numbers are written big-endian.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the type markers and the optimised container forms, which the UBJSON specification gives.
- Viewer: the site has no viewer for this format.
Links
Reference
- UBJSON – the specification and a list of libraries