PHP Classes

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

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
Not enough user ratingsTotal: 462 All time: 6,073 This week: 660Up
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
  Performance   Level  

 

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

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 Unique User Downloads Download Rankings  
 0%
Total:462
This week:0
All time:6,073
This week:660Up