CompactData is a compact data serialisation format
JSON
{"data":{"is":["v","e","r","b","o","s","e"]}}
CompactData
data(is[c;o;m;p;a;c;t])

CompactData Example in Python

A very basic Python example importing the PyPI package and using print to output to console, using the two methods loads and dumps. Source code for compactdata-python available on GitHub

import compactdata

print(compactdata.loads("foo=bar"))
# -> { 'foo': 'bar' }
print(compactdata.dumps({'foo': 'bar'}))
# -> foo=bar