I suspect this may be an issue with your PostgreSQL schema. Racket uses the
`jsexpr?` type for both the types "JSON" and "JSONB" at the PostgreSQL
level.[1] Can you confirm that your column is defined with the "JSONB" type?

[1]
http://docs.racket-lang.org/db/sql-types.html#%28part._postgresql-types%29

-Philip

On Fri, Mar 16, 2018 at 5:28 PM, David Storrs <[email protected]>
wrote:

> I'm noticing that when I store jsexpr?s into PostgreSQL 10 I end up with
> them as strings, not as actual JSONB data.  I've read the docs and tried
> every combination of typecasting / methods of writing that I can think of
> but nothing ends up working.  Can anyone point me to the right way?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to