postgresql/contrib/hstore
Andrew Dunstan 38fb4d978c JSON generation improvements.
This adds the following:

    json_agg(anyrecord) -> json
    to_json(any) -> json
    hstore_to_json(hstore) -> json (also used as a cast)
    hstore_to_json_loose(hstore) -> json

The last provides heuristic treatment of numbers and booleans.

Also, in json generation, if any non-builtin type has a cast to json,
that function is used instead of the type's output function.

Andrew Dunstan, reviewed by Steve Singer.

Catalog version bumped.
2013-03-10 17:35:36 -04:00
..
data
expected JSON generation improvements. 2013-03-10 17:35:36 -04:00
sql JSON generation improvements. 2013-03-10 17:35:36 -04:00
.gitignore
crc32.c
crc32.h
hstore_compat.c
hstore_gin.c
hstore_gist.c
hstore_io.c JSON generation improvements. 2013-03-10 17:35:36 -04:00
hstore_op.c
hstore--1.0--1.1.sql
hstore--1.1.sql JSON generation improvements. 2013-03-10 17:35:36 -04:00
hstore--unpackaged--1.0.sql
hstore.control
hstore.h
Makefile