ohler55 / oj

Optimized JSON
http://www.ohler.com/oj
MIT License
3.14k stars 251 forks source link

Optimize JSON for pub sub transmission? #902

Closed jmb-mage closed 10 months ago

jmb-mage commented 1 year ago

Request

JSON documents themselves could be optimized when used in a pub sub pattern as transmission packets. The goal is to create a single json meta data file for serialization and deserialization to be spread to every node. The json documents that are sent repeatedly are optimized and even compressed

ohler55 commented 10 months ago

This is really out of scope for a JSON parser. It is really an application level feature or at least a library on top of Oj.