Guest blogger Troy Reimer tells all about JSON and LotusScript
Category NoneIn case you missed the earlier mention, Troy Reimer at SNAPPS created and donated - to JSON.org and OpenNTF.org - LotusScript class libraries for reading and writing JSON for all kinds of data notes.
He gives a more detailed explanation on what it's all about and a concrete example here in a guest column on Viktor Krantz's blog. Pay special attention...
...I didn't say it before, but the JSONArray and JSONObject classes also have the ToJSON method. This allows round-tripping of the JSON string. JSON string comes in, is parsed into LotusScript objects using JSONReader, those objects are modified using the JSONArray or JSONObject methods, and finally the resulting object is converted back to a JSON string using the ToJSON method.
This makes for some pretty powerful stuff - enjoy the example and explanation...
