2017 © Pedro Peláez
 

library php-cjson

Fast JSON parsing and encoding support for PHP extension

image

rryqszq4/php-cjson

Fast JSON parsing and encoding support for PHP extension

  • Friday, February 10, 2017
  • by rryqszq4
  • Repository
  • 2 Watchers
  • 3 Stars
  • 0 Installations
  • C
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-cjson

Build Status, (*1)

The php-cjson is a fast JSON parsing and encoding support for PHP extension., (*2)

Install

$/path/to/phpize
$./configure --with-php-config=/path/to/php-config
$make && make install

Example

encode, (*3)

"value")
);
var_dump(cjson_encode($arr));

/* ==>output
string(28) "[1,"string",{"key":"value"}]";
*/
?>

decode, (*4)

output
array(3) {
  [0]=>
  int(1)
  [1]=>
  string(6) "string"
  [2]=>
  array(1) {
    ["key"]=>
    string(5) "value"
  }
}
*/
?>

The Versions

10/02 2017

dev-master

9999999-dev

Fast JSON parsing and encoding support for PHP extension

  Sources   Download

PHP License 3.01

The Requires

  • php >=5.3, <=5.6

 

by Avatar rryqszq4