PHP Classes

JSON Builder: Encode associative array as object in JSON format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 440 All time: 5,821 This week: 1,004Up
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.

Picture of Aldo Stracquadanio
Name: Aldo Stracquadanio <contact>
Classes: 1 package by
Country: Italy Italy
Age: ???
All time rank: 3166130 in Italy Italy
Week rank: 1501 Up61 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  
 0%Total:440All time:5,821
 This week:0This week:1,004Up