How do you parse a simple JSON string in Batch?
For example, if I have the following JSON string:
{ \"...\":\"...\", \"year\": 2016, \"time\": \"05:01\
Use https://stedolan.github.io/jq/, no need to use powershell or string manipulations in batch.
Example to get value of field from json string:
set "year={ "other": 1234, "year": 2016, "value": "str", "time": "05:01" } | jq .year" echo %year%
gives you 2016