comp • gb.web • json • decode

JSON.Decode (gb.web)

Static Function Decode ( JSONString As String [ , UseNull As Boolean ] ) As Variant

Decodes a JSON string and returns it as a Gambas value.

Since 3.5

If the UseNull argument is TRUE, then Null JSON values will be represented by the JSON.Null property.

That allows to make the difference between a property that is not set and a property having the null value.