Docs: Fix typos in Services_JSON
DocBlocks.
Props mukesh27. Fixes #47401. git-svn-id: https://develop.svn.wordpress.org/trunk@45535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e153f957ad
commit
8e8402092a
@ -105,7 +105,7 @@ define('SERVICES_JSON_USE_TO_JSON', 64);
|
|||||||
* // create a new instance of Services_JSON
|
* // create a new instance of Services_JSON
|
||||||
* $json = new Services_JSON();
|
* $json = new Services_JSON();
|
||||||
*
|
*
|
||||||
* // convert a complexe value to JSON notation, and send it to the browser
|
* // convert a complex value to JSON notation, and send it to the browser
|
||||||
* $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4)));
|
* $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4)));
|
||||||
* $output = $json->encode($value);
|
* $output = $json->encode($value);
|
||||||
*
|
*
|
||||||
@ -208,7 +208,7 @@ class Services_JSON
|
|||||||
*
|
*
|
||||||
* Normally should be handled by mb_convert_encoding, but
|
* Normally should be handled by mb_convert_encoding, but
|
||||||
* provides a slower PHP-only method for installations
|
* provides a slower PHP-only method for installations
|
||||||
* that lack the multibye string extension.
|
* that lack the multibyte string extension.
|
||||||
*
|
*
|
||||||
* @param string $utf8 UTF-8 character
|
* @param string $utf8 UTF-8 character
|
||||||
* @return string UTF-16 character
|
* @return string UTF-16 character
|
||||||
|
Loading…
Reference in New Issue
Block a user