PHP Classes

PHP Is JSON Format: Check if a string contains valid JSON encoded data

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-12-14 (7 months ago) RSS 2.0 feedNot enough user ratingsTotal: 87 All time: 9,790 This week: 423Up
Version License PHP version Categories
is_json 1.0GNU General Publi...5PHP 5, Validation
Description Author

This class can check if a string contains valid JSON encoded data.

It takes a string value as a parameter and verifies whether it represents a value in JSON format.

The class may also take values of other types besides strings. In that case, it always returns a result that determines it is not a valid JSON string.

Picture of Ali YILMAZ
  Performance   Level  
Name: Ali YILMAZ <contact>
Classes: 15 packages by
Country: Turkey Turkey
Age: ???
All time rank: 265343 in Turkey Turkey
Week rank: 5 Up1 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file is_json.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:87
This week:0
All time:9,790
This week:423Up
User Comments (1)
useless
7 months ago (Viktor)
0%Star
 
For more information send a message to info at phpclasses dot org.