News for hackers. Stuff that matters.
Re:PostgreSQL: Jsonb has committed by twic on Monday March 24, 2014 @02:56PM (#7460477)
What does this binary format actually look like on disk? Is this documented anywhere other than in the code that reads and writes it?

I do remember a description of it in some slides a few months back, but i can't find them now.

Re:PostgreSQL: Jsonb has committed by rch on Monday March 24, 2014 @03:16PM (#7460654)
Re:PostgreSQL: Jsonb has committed by twic on Monday March 24, 2014 @05:21PM (#7461605)
Yes, that's it, thanks!

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=...