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
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
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.