This project is archived and is in readonly mode.
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
-
Daniele Varrazzo September 27th, 2012 @ 11:33 AM
- State changed from open to resolved
Merged in devel
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
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.