Login   Register  
PHP Classes

PHP Validate JSON Object: Validate variables of a JSON encoded object

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-18 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 450 This week: 1All time: 5,599 This week: 1,364Up
Version License PHP version Categories  
validate-json 1.0Freely Distributable5.3PHP 5, Validation
Description Author  

This class can validate variables of a JSON encoded object.

It can take an object previously encoded as JSON and validate its variables to determine if they are present and are not empty.

The class takes an array with the names of the variables of the object to validate and a callback function that defines associated error messages.

Picture of Adalto Ferreira Evangelista Junior
Name: Adalto Ferreira ... <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 28
All time rank: 3056232 in Brazil Brazil
Week rank: 1060 Up90 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Files folder imagetest (1 file)
Plain text file JsonValidate.php Class Classe for execute validation

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file JsonValidateTestUnitCase.php Test Classe for execute validation

 Version Control Unique User Downloads Download Rankings  
 0%Total:450All time:5,599
 This week:1This week:1,364Up