PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 6,504 All time: 323 This week: 107Up
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.

Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 36
All time rank: 71 in Paraguay Paraguay
Week rank: 32 Down1 in Paraguay Paraguay Equal
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

  Files folder image Files  /  doc  
File Role Description
Files folder imageJSON (2 files)
Files folder imagemedia (3 files)
  Accessible without login Plain text file classtrees_JSON.html Doc. Documentation
  Accessible without login Plain text file elementindex.html Doc. Documentation
  Accessible without login Plain text file elementindex_JSON.html Doc. Documentation
  Accessible without login Plain text file index.html Doc. Documentation
  Accessible without login HTML file JSON.html Doc. Documentation
  Accessible without login Plain text file li_JSON.html Doc. Documentation

  Files folder image Files  /  doc  /  JSON  
File Role Description
  Accessible without login HTML file JSON.html Doc. Documentation
  Accessible without login Plain text file _JSON.php.html Doc. Documentation

  Files folder image Files  /  doc  /  media  
File Role Description
  Accessible without login Image file background.png Photo Documentation image
  Accessible without login Image file empty.png Photo Documentation image
  Accessible without login Plain text file style.css Data Documentation

 Version Control Reuses Unique User Downloads Download Rankings  
 0%2
Total:6,504
This week:0
All time:323
This week:107Up
User Ratings User Comments (2)
 All time
Utility:75%StarStarStarStar
Consistency:79%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:72%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1175