PHP Class PrivateBin\Json

Provides JSON functions in an object oriented way.
显示文件 Open project: privatebin/privatebin Class Usage Examples

Public Methods

Method Description
encode ( mixed $input ) : string Returns a string containing the JSON representation of the given input

Method Details

encode() public static method

Returns a string containing the JSON representation of the given input
public static encode ( mixed $input ) : string
$input mixed
return string