A JSON binary Alternative

Veröffentlicht am: 01 April 2023
auf dem Kanal: Th30z Code
1,038
26

YAJBE is a compact binary data format built to be a drop-in replacement for #JSON (JavaScript Object Notation).

We have a lot of services exchanging or storing data using JSON, and most of them don't want to switch to a data format that requires a schema.

We wanted to remove the overhead of the JSON format (especially field names), but keeping the same data model flexibility (numbers, strings, arrays, maps/objects, and a few values such as false, true, and null).

The main languages we use are Java and Javascript/Typescript, so the idea was to replace the JsonMapper class from Jackson (Java) and the JSON.stringify()/parse() from javascript with the new one and everything will be faster (the same will be true for other languages).

YAJBE - Yet Another JSON Binary Encoding
Learn more at Github https://github.com/matteobertozzi/yaj...

Chapters:
0:00 Yajbe motivations
1:43 Basic Types (null, boolean)
2:06 Integer Encoding
3:02 Field Names Encoding
4:00 Arrays & Maps Encoding
4:33 String & Bytes Encoding

#programming #coding #softwareengineer #softwareengineering #dataformats #json


Auf dieser Seite können Sie das Online-Video A JSON binary Alternative mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Th30z Code 01 April 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,038 Mal angesehen und es wurde von 26 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!