How can I extract a value from this string below using Big Query? (this is a sample from a field called, 'evaluation')
[{"Id": "abcdef", "evaluationId": "1234567890", "createDate": "2021-08-16T14:42:42", "evaluationDate": "2021-08-19T14:44:42", "evaluationClass": "ADVANCED", "Score": 500, "evaluationToken": null, "evaluationStatus": "ACTIVE"}]
For example, I'd like to extract the value, 'Score'. I've tried JSON functions, like:
SELECT JSON_VALUE(evaluation,'$.Score')
But this just returns a null value.
SELECT JSON_VALUE(evaluation,'$[0].Score')