Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Undertstanding the valueRegEx in mango
-
Hello,
I would like to understand how the "valueRegEx" to be used against a JSON string in mango.
"pointLocator":{ "dataType":"NUMERIC", "ignoreIfMissing":false, "timeFormat":"", "timeRegex":"", "valueFormat":"", "valueRegex":"\"id\":\"10001\",\"type\":\"batteryzone\".*?\"dcvoltage\":\"(.*?)\",\".*?\"currinputs\"" },
I know its gets the dcvoltage from the json string but don’t know how it terminates (I’m assuming currinputs match). I want to start from a different point in the json string.
Thanks,
Gary C