This project is archived and is in readonly mode.

#124 ✓resolved
Daniele Varrazzo

Add JSON adapter/typecaster

Reported by Daniele Varrazzo | September 18th, 2012 @ 09:26 AM

  1. Add a register_json function to create a json typecaster with provided/sniffed oids and provided loads() function.
  2. Use it to initialize JSON/JSON[] typecasters with a sensible loads() for the Python used and the PG 9.2 hardcoded oids.
  3. 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 »

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="">the new tracker</a>.
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.

Shared Ticket Bins