Smart JSON compression using schema-based value deduplication
Achieve 40-70% size reduction while maintaining full JSON compatibility
JPack Schema creates a dictionary of unique values and replaces duplicates with numeric references. This maintains full JSON compatibility while achieving 40-70% compression.
[
{"name": "John", "role": "admin"},
{"name": "Jane", "role": "admin"},
{"name": "Bob", "role": "user"}
]{
"schema": {
"0": "John", "1": "admin",
"2": "Jane", "3": "user", "4": "Bob"
},
"data": [
{"name": 0, "role": 1},
{"name": 2, "role": 1},
{"name": 4, "role": 3}
]
}