On Sat, Aug 8, 2009 at 9:11 PM, Jeff Davis<pg...@j-davis.com> wrote: > On Thu, 2009-07-30 at 00:01 -0400, Robert Haas wrote: >> The JSON transformation provides functionality which is very similar >> to what we also offer for XML. I sort of think we ought to just >> provide that, rather than making it an add-on. I have found it to be >> a tremendously attractive alternative to XML. > > It's worthwhile to think about how we can fit our special cases into > general APIs -- particularly when we have two similar special cases like > JSON and XML.
I agree. The way we handle XML is with special syntax that is hard-coded into the parser. If there is a more flexible solution I'm all for it, but I'm not sure this is it. ...Robert -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers