there's a trac ticket surrounding the job of adding the JSON type: 
http://www.sqlalchemy.org/trac/ticket/2581

the closest type resembling this is the HSTORE type, so an approach here would 
likely want to draw from some of the techniques of HSTORE.


On Sep 3, 2013, at 2:31 AM, John Yeuk Hon Wong <gokoproj...@gmail.com> wrote:

> Okay. I looked at custom type and was about to implement one and I found 
> this: 
> http://docs.sqlalchemy.org/en/rel_0_8/core/types.html?highlight=json#marshal-json-strings
> 
> Do we have a plan to add JSON type?
> I am looking at range.py and hstore.py to get an idea how one writes a data 
> type.
> 
> John
> On Monday, September 2, 2013 11:49:47 PM UTC-4, John Yeuk Hon Wong wrote:
> It seems like for 0.8.2 release we have added the range type support but not 
> the JSON data type support. I believe psycopg2.5 supports both range and JSON 
> data type.
> Do we have a bridge in 0.8.2 to support JSON data type, or do I still have to 
> write a custom, user-defined data type?
> 
> Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/groups/opt_out.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to