|Classes of Julian Finkler||>||JSON Object Mapper||>||README.md||>||Download|
JOM - JSON Object Mapper
JOM is a powerful object mapper which maps JSON Data into PHP objects.
You can install this library using composer
JOM is totally easy to use. Simply put the annotation @MintWare\JOM\JsonField(name=, type=) to your class properties. name is the name of the json property, type is the field type which can also be an mapped class.
For mapping you have to create an ObjectMapper-Object and call the mapJson Method
Map the JSON:
Feel free to fork, contribute and create pull requests