<div dir="ltr">Hi,<div><br></div><div>I am trying to resolve the ovms web interface throwing an "undefined" error because the following metric is defined with OvmsMetricVector<string> and does not get quoted when parsed to JSON.parse(ev.data) in ovms.js.</div><div><br></div><div>Output from console error log:</div><div>"xnl.v.c.duration.label":[full.l2,full.l1,full.l0,range.l2,range.l1,range.l0]<br></div><div><br></div><div>However, when using JSON.print(OvmsMetrics.GetValues("xnl.v.c.duration.label")) a properly formed json string is returned:</div><div>  "xnl.v.c.duration.label": [<br>    "full.l2",<br>    "full.l1",<br>    "full.l0",<br>    "range.l2",<br>    "range.l1",<br>    "range.l0"<br>  ]<br></div><div><br></div><div>Can this be corrected at the ev.data source or use JSON.print on ev.data before parsing it?</div><div><br></div><div>Kind regards</div><div>Derek</div></div>