Sunday, December 30, 2012
Json API work
Following a couple of requests, I've pushed a copy of my Json API development repo to Bitbucket. To play with it, pull the "jsonapi" branch. It has a number of interesting new goodies, including json_each() and just yesterday I added json_get_path() which takes a variadic sequence of path values to descend the json tree (no reparsing required). Today I'm working on populate_record(), very thankful that I can re-use a lot of hstore's code for this. After that, json_unnest() to pull apart json arrays will just about complete the major work, and I can start filling in gaps, cleaning code, making more comprehensive tests, and so on.