PHP Classes

JSON: Serialize and unserialize values in JSON format

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 6,505 All time: 324 This week: 673Down
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: 37
All time rank: 71 in Paraguay Paraguay
Week rank: 41 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Files folder image Files (13)  
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 (13)  /  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 (13)  /  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 (13)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Reuses Unique User Downloads Download Rankings  
 0%2
Total:6,505
This week:0
All time:324
This week:673Down
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:1182