Solar_Json::_json_encode()
protected
mixed
Solar_Json::_json_encode
( mixed $var
)
Encodes the mixed $valueToEncode into the JSON format, without use of native PHP json extension.
Parameters
(mixed)
$var
: Any number, boolean, string, array, or object to be encoded. Strings are expected to be in ASCII or UTF-8 format.
Returns
(mixed) JSON string representation of input value
Description
Encodes the mixed $valueToEncode into the JSON format, without use of native PHP json extension.