Json
in package
Json
Provides JSON functions in an object oriented way.
Table of Contents
Methods
- decode() : mixed
- Returns an array with the contents as described in the given JSON input
- encode() : string
- Returns a string containing the JSON representation of the given input
Methods
decode()
Returns an array with the contents as described in the given JSON input
public
static decode(string &$input) : mixed
Parameters
- $input : string
Tags
encode()
Returns a string containing the JSON representation of the given input
public
static encode(mixed &$input) : string
Parameters
- $input : mixed