JSON Parser Object PHP is a library for parsing the data in JSON format.
Tiny Library for parse JSON.
JPOPHP (PHPJsonParser) can encode and decode data in JSON format.
We provides a pure PHP solution to take a value and generates a string that represents that value in JSON format.
The package can also take a JSON encoded string and decodes it to retrieve the original data value.
PHP
)PHP 7.2.6
, PHP 7.3.4
true
, false
)C Language
!)All public functions are accessible through the $json
variable.
array $json->decode(string);
string $json->encode(array);
To view the full details, run the Example.php file.
You can check the JSONGrammar.txt file to view the JSON standard grammar.
Competition between json_encode(...)
and $json->encode(...)
The basic PHP functions are written in C itself.
Do not expect to reach it quickly.
However, there is always way for improvement.
Version 1.0 (first) : 2018-06-26 - 2018-06-26
Version 2.1 : 2018-06-27 - 2019-03-13
Version 2.2 : 2019-03-25 - 2019-04-03
Version 2.2.1 : 2019-04-04
JsonParser (PHP JSON Parser) is licensed under the GNU General Public License.