Function : fromJson

This converts a json string or json stdClass object to an array format only.

Syntax
  fromJson($value)
  
  $value: json string to be converted to array format
   
                  
Sample: fromJson
  fromJson('{"name":"foo"}'); //['name'=>'foo']