This question is in relation to my previous problem which was solved. Link to Previous Problem
Now I need to access columns and values of the Tag "GetCustomReportResult" and transform into a SQL Table format.
The JSON String is actually stored in a column in a SQL Table as seen below and I am trying to transform the elements in the tag "GetCustomReportResult" in a table format with columns and values for each of the "ApplicationID":

Here is what I was trying to access the columns and values within the Tag "GetCustomReportResult":
SELECT
y.cijreport,
y.ApplicationId,
JSON_VALUE(x.value, '$.CIP') as CIP,
JSON_VALUE(x.value, '$.CIQ') as CIQ
--other fields
FROM table as y
CROSS APPLY OPENJSON (cijreport) as x
where cijreport is not null
I now get this error when I execute:
Msg 13609, Level 16, State 2, Line 1 JSON text is not properly formatted. Unexpected character 'o' is found at position 0.