I have the following JSON payload in a column in an ADX cluster that I need extract data from.
[
{
"RailType":"HE400",
"InstallationDate":"2017-07-19T16:00:00.0000000Z",
"CurvePercentage":99.61377338837824
},
{
"RailType":"ONEHH",
"InstallationDate":"2017-05-21T16:00:00.0000000Z",
"CurvePercentage":0.3862266116217716
}
]
What I've come up with so far (play with it on RegExr):
"RailType":(".*?")
Unfortunately, this matches:
"RailType":"HE400"
"RailType":"ONEHH"
When what I really want is simply:
HE400
ONEHH
I know it is not ideal to parse JSON with regex, but I am constrained by ADX querying requirements to use regex for this task.