PHP Classes

JSON Builder: Encode associative array as object in JSON format

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-05-16 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 446 This week: 1All time: 6,104 This week: 435Up
Version License PHP version Categories
json-builder 1.0Free for non-comm...5.3PHP 5, Data types
Description Author

This package can encode associative array as object in JSON format.

It can traverse an associative array and process its entries to be encoded in JSON.

It supports encoding specific entries as function references.

Name: Aldo Stracquadanio <contact>
Classes: 1 package by
Country: Italy Italy
Age: ???
All time rank: 3326133 in Italy Italy
Week rank: 379 Up19 in Italy Italy Up


  Files folder image Files  
File Role Description
Files folder imageTests (2 files)
Plain text file JSONBuilder.php Class The main builder class
Plain text file JSONFunction.php Class Encapsulate a JS Function for JSON arrays

  Files folder image Files  /  Tests  
File Role Description
  Accessible without login Plain text file JSONBuilderTest.php Test Unit tests for the JSONBuilder class
  Accessible without login Plain text file JSONFunctionTest.php Test Unit tests for the JSONFunction class

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:6,104
This week:435Up