map nested JSON structures onto PHP classes
php json hydration deserialization
Watch

master

Latest commit by cweiske 17 days ago
View code Jump to file

README.rst

JsonMapper - map nested JSON structures onto PHP classes

https://api.travis-ci.org/cweiske/jsonmapper.png

Takes data retrieved from a JSON web service and converts them into nested object and arrays - using your own model classes.

Starting from a base object, it maps JSON data on class properties, converting them into the correct simple types or objects.

It's a bit like the native SOAP parameter mapping PHP's SoapClient gives you, but for JSON. It does not rely on any schema, only your PHP class definitions.

View all of README.rst

Releases

v1.5.1 published 17 days ago
View all 28 releases

Issues

View all issues

Pull requests

View all pull requests