jsondecode

Convert a String in JSON format to an appropriate value.


Syntax


Parameters

  • String subject - The String to be converted.
  • Boolean associative - Whether to convert objects into associative arrays.


Result

  • Mixed - The converted value.

Returns subject converted from JSON format.