Friday, February 3, 2012

I see this all the time

The upcoming 9.2 release of PostgreSQL could introduce a native JSON data type and support for returning JSON-formatted query results. The patches that implement the JSON functionality were submitted by contributors Robert Haas and Andrew Dunstan in the open PostgreSQL CommittFest. Technica
Sure, JSON is a better idea than xml, so just store it like we store XML? It helps.

But the point is, without XML these machines can send each other Bson. Hence the structure of the serialization is very important as part of the query, we have to do pattern matches. It is like the industry does all the work, then delivers the value to a gazillionare. Why not go the whole route, turn Json/Bson into bots?
And, if we are going to store Bson, the names need to be exposed to the underlying indexing system.

No comments: