Hi guys,
How do you deal with underscore characters when using jsonProvider and exporting or importing ?
for example:
USER>s jsonString="{""what"":""1"",""up"":""2"",""test_test"":""3""}" USER>set status = ##class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject(jsonString,,.outputObj) USER>w outputObj.what 1 USER>w outputObj.up 2 USER>w outputObj.test_test W outputObj.test_test ^ <UNDEFINED> *test
we found out that we can access it like this, but not sure if it's the recommended method-