Server IP : 103.191.208.50 / Your IP : 216.73.216.53 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, popen, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/celkcksm/tmp/pear/cache/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
a:14:{s:7:"attribs";a:4:{s:5:"xmlns";s:36:"http://pear.php.net/dtd/rest.release";s:9:"xmlns:xsi";s:41:"http://www.w3.org/2001/XMLSchema-instance";s:11:"xmlns:xlink";s:28:"http://www.w3.org/1999/xlink";s:18:"xsi:schemaLocation";s:81:"http://pear.php.net/dtd/rest.release http://pear.php.net/dtd/rest.release.xsd";}s:1:"p";a:2:{s:7:"attribs";a:1:{s:10:"xlink:href";s:21:"/rest/p/services_json";}s:8:"_content";s:13:"Services_JSON";}s:1:"c";s:12:"pear.php.net";s:1:"v";s:5:"1.0.3";s:2:"st";s:6:"stable";s:1:"l";s:3:"BSD";s:1:"m";s:6:"alan_k";s:1:"s";s:39:"PHP implementaion of json_encode/decode";s:1:"d";s:1095:"JSON (JavaScript Object Notation, http://json.org) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. This feature can also be found in Python. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, TCL, and many others. These properties make JSON an ideal data-interchange language. This package provides a simple encoder and decoder for JSON notation. It is intended for use with client-side Javascript applications that make use of HTTPRequest to perform server communication functions - data can be encoded into JSON notation for use in a client-side javascript, or decoded from incoming Javascript requests. JSON format is native to Javascript, and can be directly eval()'ed with no further parsing overhead.";s:2:"da";s:19:"2011-01-14 03:43:54";s:1:"n";s:596:"Minor feature / bugfix release #18018 - toJSON() support (classes can now implement toJSON(), which should return #17921 - long strings cause problems for parser #17515 - handle mbstring overloading of strlen ------ - cache lookups for mb functions during constructor toJSON notes: $ser = new Services_JSON( SERVICES_JSON_USE_TO_JSON ); class A { // toJSON should return an associtive array of the properties to serialize // same standard as JSON.stringify() function toJSON() { return array( 'a' => $this->a, 'b'=>$this->b) ; } } echo $sj->encode(new A());";s:1:"f";s:4:"9529";s:1:"g";s:43:"http://pear.php.net/get/Services_JSON-1.0.3";s:1:"x";a:1:{s:7:"attribs";a:1:{s:10:"xlink:href";s:17:"package.1.0.3.xml";}}}