Using LabVIEW primitive Unflatten From JSON, we need to know the precise structure of the JSON input to access a specific value.
However sometimes we don't have the precise sturcture of the JSON input beforehand, sometimes the structure is heavily nested.
It will be very useful to parse JSON value, nested object or array as string, so that we can observe it or leave further parsing to a latter stage.
e.g. {"a":{"b":[{"c":"c"},{"d":FALSE},{"e":[1,2,3]}]}}
the structrue of value of "a" is a little complicated and I'd like it to be parsed into a string first. It would be very convinient if we can have cascaded parsings as shown below.
只有注册用户才能在此添加评论。 如果您已经注册,请登录。 如果您还没有注册,请注册并登录。
Available in LabVIEW 2019 and later. Go to the Functions > Programming > String > Flatten/Unflatten String palette and select the item to download and install the JSONtext Toolkit for LabVIEW.