Add array_to_json and row_to_json functions.

Andrew Dunstan <andrew@dunslane.net>

Commit: 39909d1d39ae57c3a655fc7010e394e26b90fec9
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2012-02-03T17:11:16Z
Releases: 9.2.0
Add array_to_json and row_to_json functions.

Also move the escape_json function from explain.c to json.c where it
seems to belong.

Andrew Dunstan, Reviewd by Abhijit Menon-Sen.

Files