Pike v8.0 release 1738

Method Standards.JSON.decode()


Method decode

array|mapping|string|float|int|object decode(string s)

Description

Decodes a JSON string.

Throws

Throws an exception in case the data contained in s is not valid JSON.