I have column "ЕИУ" that's text column. Some rows contains json values, but some can be NULL on not json(text for example.) I would like to extract all values that NOT json values.
None json values example
I have column "ЕИУ" that's text column. Some rows contains json values, but some can be NULL on not json(text for example.) I would like to extract all values that NOT json values.
None json values example
Looking at your sample data, you can simply get this using NOT LIKE
select * from your_table where column_name not like '{%}'
Otherwise, you can create a function that will try casting to JSON and return true or false based on that output.
select * from your_table where your_json_function(your_column);