A JSON binary Alternative

Publié le: 01 avril 2023
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne A JSON binary Alternative durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Th30z Code 01 avril 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,038 fois et il a aimé 26 téléspectateurs. Bon visionnage!