forked from Wavyzz/dolibarr
Doc
This commit is contained in:
@@ -39,6 +39,8 @@ if (!function_exists('json_encode')) {
|
|||||||
/**
|
/**
|
||||||
* Implement json_encode for PHP that does not support it.
|
* Implement json_encode for PHP that does not support it.
|
||||||
* Use json_encode and json_decode in your code !
|
* Use json_encode and json_decode in your code !
|
||||||
|
* Note: We can found some special chars into a json string:
|
||||||
|
* Quotation mark (") = \", Backslash (\) = \\, Slash (/) = \/, Backspace = \b, Form feed = \f, New line =\n, Carriage return =\r, Horizontal tab = \t
|
||||||
*
|
*
|
||||||
* @param mixed $elements PHP Object to json encode
|
* @param mixed $elements PHP Object to json encode
|
||||||
* @return string Json encoded string
|
* @return string Json encoded string
|
||||||
|
|||||||
Reference in New Issue
Block a user