Solar_Json::encode()
public
string
Solar_Json::encode
( mixed $valueToEncode
, array $deQuote = array ()
)
Encodes the mixed $valueToEncode into JSON format.
Parameters
(mixed)
$valueToEncode
: Value to be encoded into JSON format(array)
$deQuote
: Array of keys whose values should not be quoted in encoded string.
Returns
(string) JSON encoded value
Description
Encodes the mixed $valueToEncode into JSON format.