Akeeba_Services_JSON::name_value
array-walking function for use in generating JSON-formatted name-value pairs
Signature
public function name_value(string
$name,
mixed
$value )
Parameters
-
$name
- name of key to use
-
$value
- reference to an array element to be encoded
Returns
- string
- JSON-formatted name-value pair, like '"name":value'