Add JSON adapter/typecaster
Reported by Daniele Varrazzo | September 18th, 2012 @ 09:26 AM
- Add a register_json function to create a json typecaster with provided/sniffed oids and provided loads() function.
- Use it to initialize JSON/JSON typecasters with a sensible loads() for the Python used and the PG 9.2 hardcoded oids.
- Add a Json wrapper to adapt generic Python values to json.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.