I have a table in an SQL Server database with columns containing valid json data.
example of data in a field: [{"max": 0, "min": 0, "price": 1000}]
Column datatype is nvarchar(max).
Code:
Select json_value(odometer_surcharges, '$.price') AS price from postgres.warranty_terms
The problem is that it returns NULL values for every record.