Solar_Json::_name_value()
protected
string
Solar_Json::_name_value
( string $name
, mixed $value
)
Array-walking method for use in generating JSON-formatted name-value pairs in the form of '"name":value'.
Parameters
(string)
$name
: name of key to use(mixed)
$value
: element to be encoded
Returns
(string) JSON-formatted name-value pair
Description
Array-walking method for use in generating JSON-formatted name-value pairs in the form of '"name":value'.