Returns a string containing the JSON representation of $value.
declaration of json_encode
string json_encode ( mixed $value [, int $options ] )
test json_encode online
comments for json_encode
On 18. Jul 2015 01:45 jacko wrote:
i can't seem to get the syntax right in my php for cleaning a text input with jason_encode prior to inserting it into the database. Can you advise?
On 16. Jul 2014 19:03 myselfhimself wrote:
Hello ! Thank you very much for that awesome website !!!! : ) It would be nice to have fields for $options and $depth optional parameters : ) Those were added in PHP 5.4 and 5.5 respectively. Take care !!