PHP Classes
elePHPant
Icontem

JSON: Serialize and unserialize values in JSON format

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-11-24 (11 years ago) RSS 2.0 feedStarStarStarStar 62%Total: 6,488 All time: 320 This week: 376Down
Version License PHP version Categories
json 1.0.0BSD License4.0Text processing, Data types
Description Author

This class can be used to serialize and unserialize PHP variable values in the JSON format (Javascript Object Notation).

It can take a variable value of any PHP type and generates a string that represents that object in JSON format.

The class can also do the opposite, i.e. take a string with a value represented in a JSON format and recreate a PHP variable value of the type defined in the serialized JSON string.

  Performance   Level  
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Files folder image Files  
File Role Description
Files folder imagedoc (6 files, 2 directories)
Plain text file JSON.php Class Main class
Accessible without login Plain text file example.php Example Example

 Version Control Reuses Unique User Downloads Download Rankings  
 0%2
Total:6,488
This week:0
All time:320
This week:376Down
User Ratings User Comments (2)
 All time
Utility:77%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:77%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:1148