Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

ehough/jameson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jameson

Build Status Project Status: Unsupported - The project has reached a stable, usable state but the author(s) have ceased all work on it. A new maintainer may be desired. Latest Stable Version License

This library is no longer maintained. JSON encoder/decoder compatible with PHP 5.1.3 and above. This library will use PHP's builtin json_encode() and json_decode() when available.

$input   = array('a' => 1, 'b' => 2, 'c' => 3);
$encoder = new ehough_jameson_impl_FastEncoder();  //implements ehough_jameson_api_Encoder
$decoder = new ehough_jameson_impl_FastDecoder();  //implements ehough_jameson_api_Decoder
$asJson  = $encoder->encode($input);               //{"a":1,"b":2,"c":3}
$result  = $decoder->decode($asJson);              //array('a' => 1, 'b' => 2, 'c' => 3);

About

JSON encoder/decoder compatible with PHP 5.1 and above.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages