Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2018-04-27 (4 months ago) | | Not yet rated by the users | | Total: 142 | | All time: 8,661 This week: 313 |
|
Description | | Author |
This class create objects of classes mapped from JSON strings.
It can take a given class and extracts the annotations to determine the type of its variables.
The class can parse a JSON string and extracts the values to store in the class variables according to the types defined in the annotations.
The class can also retrieve nested objects to be stored in the class variables declared as such. Innovation Award
September 2017
Winner
Prize: One big elePHPant Plush Mascott |
ORMs (Object Relational Mapping) are tools or libraries of code that are used to store and retrieve objects in databases or other types of storage containers.
To do their job, ORMs need to retrieve information from somewhere to determine how to store or retrieve the objects in the container.
This package provides means to retrieve mapping information from annotation comments that have that information defined as JSON data structure strings.
Manuel Lemos |
| |
|
|
Innovation award
Nominee: 2x
Winner: 1x |
|
Details
JOM - JSON Object Mapper
JOM is a powerful object mapper which maps JSON Data into PHP objects.
Installation
You can install this library using composer
$ composer require mintware-de/json-object-mapper
Usage
Check out the documentation
Testing
$ phpunit
Contribute
Feel free to fork, contribute and create pull requests
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.