leafo/pgmoon

how to disable type conversion for json objects

zcaudate opened this issue · 2 comments

is there a way to get the raw string for a query returning a json object?

leafo commented

You can turn override the type deserializer for json in the instance of pgmoon to nil, or you can cast the json object to text in your postgres query.

sweet that works really well.