Example of reading and writing JSON using the JSONReader and JSONWriter controls

A common question in Linx is how to use the JSONReader or JSONWriter controls. For instance passing a JSON string into the JSONReader gives an error about an unexpected character right from the start.

The important step which solves all the problems is to first create the structure of your JSON document using New Type. I’ve added a quick example in this post to show how to use both these extreme useful controls.

Linx 5.22.0 JSONExample.lsoz (9.3 KB)

Linx 6.0.5 Linx6.zip (146 Bytes)

1 Like