Skip to content

Native PHP implementation of json_decode for systems running PHP < 5.2

Notifications You must be signed in to change notification settings

pkriete/JSON-Decode-Fallback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

JSON Decode Fallback

This file is meant to be used with systems that do not run PHP 5.2 or greater. Unlike other fallbacks it does not include a json_decode helper method. You should not be including the file if your system doesn't need it.

Usage

Usage is pretty straightforward. Simply instantiate the class and call the decode() method with your json string.

$json = new Json();
$php_data = $json->decode($json_string);

About

Native PHP implementation of json_decode for systems running PHP < 5.2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages