Akeeba_Services_JSON::encode
encodes an arbitrary variable into JSON format
Signature
public function encode(mixed
$varĀ )
Parameters
-
$var
- any number, boolean, string, array, or object to be encoded.
Returns
- mixed
- JSON string representation of input var or an error if a problem occurs