On 3/10/14, 4:09 PM, alf.kristian@gmail.com wrote:
> I think the insert should fail, since '1' is not valid JSON.
It's a valid "JSON value", it's just not an object. If you only want to
store JSON objects in the table, consider using a CHECK constraint.
Regards,
Marko Tiikkaja