|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 149 ||All time: 8,987 This week: 287|
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.
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.
JOM - JSON Object Mapper
JOM is a powerful object mapper which maps JSON Data into PHP objects.
You can install this library using composer
$ composer require mintware-de/json-object-mapper
Check out the documentation
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.