Are there any standards for how to parse the json response from Azure Time Series API? It looks a lot like JSON schemas, but not quite.
It's hard to find any guidelines from Microsoft on how to handle the parsing. Deserializing with JSON.NET is also tricky because property names can consist of dots when a nested data object has been sent.
Sample json:
{
{
"warnings": [],
"events": [
{
"schema": {
"rid": 0,
"$esn": "Test",
"properties": [
{
"name": "a.identifier",
"type": "String"
},
{
"name": "a.number",
"type": "Double"
},
{
"name": "descr",
"type": "String"
}
]
},
"$ts": "2018-01-21T22:57:00.095Z",
"values": [
"test",
2.1,
"fdsasf"
]
},
{
"schemaRid": 0,
"$ts": "2018-01-21T22:57:00.095Z",
"values": [
"test2",
223,
"gjmnsfg"
]
},
{
"schemaRid": 0,
"$ts": "2018-01-21T22:57:00.095Z",
"values": [
"test3",
43.5,
"sasd"
]
}
]
}
}