json.c
json_decode
Synopsis
Parameters
string text- The JSON string to deserialize.
Returns
mixed - The deserialized LPC value.
Description
Deserializes a JSON string into an LPC value.
json_encode
Synopsis
Parameters
mixed value- The LPC value to serialize.mixed* [pointers]- An optional array of pointers to handle circular references.
Returns
string - The JSON string representation of the LPC value.
Description
Serializes an LPC value into a JSON string.