I suppose the definitive description of the format is the function JsonbToCString, which is what writes the in-memory structures out as bytes:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=...
I suppose the definitive description of the format is the function JsonbToCString, which is what writes the in-memory structures out as bytes:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=...