Gambas Documentation
Documents

JSON.FromString (gb.util.web)

Static Function FromString ( Value 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.

Since 3.21

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