Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 153 | All time: 9,053 This week: 455 |
Version | License | PHP version | Categories | |||
json-object-mapper 1.2.0 | Custom (specified... | 5.6 | PHP 5, Data types |
Description | Author | |||
This class create objects of classes mapped from JSON strings. Innovation Award
|
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
$ phpunit
Feel free to fork, contribute and create pull requests
Files (41) |
File | Role | Description | ||
---|---|---|---|---|
doc (7 files) | ||||
src (4 files, 1 directory) | ||||
tests (3 files, 3 directories) | ||||
.travis.yml | Data | Auxiliary data | ||
CHANGELOG.md | Doc. | Documentation | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (41) | / | doc |
File | Role | Description |
---|---|---|
1_simple_mapping.md | Doc. | Documentation |
2_mapping_with_typehints.md | Doc. | Documentation |
3_mapping_alternative_property_names.md | Doc. | Documentation |
4_using_transformers.md | Doc. | Documentation |
5_convert_an_object_to_json.md | Doc. | Documentation |
6_multiple_annotations.md | Doc. | Documentation |
index.md | Doc. | Documentation |
Files (41) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Exception (4 files) | ||||
DateTimeField.php | Class | Class source | ||
JsonField.php | Class | Class source | ||
ObjectMapper.php | Class | Class source | ||
TransformerInterface.php | Class | Class source |
Files (41) | / | src | / | Exception |
File | Role | Description |
---|---|---|
ClassNotFoundException.php | Class | Class source |
InvalidJsonException.php | Class | Class source |
PropertyNotAccessibleException.php | Class | Class source |
TypeMismatchException.php | Class | Class source |
Files (41) | / | tests |
File | Role | Description | ||
---|---|---|---|---|
Objects (7 files) | ||||
res (7 files) | ||||
Transformer (3 files) | ||||
autoload.php | Aux. | Auxiliary script | ||
FailPerson.php | Class | Class source | ||
ObjectMapperTest.php | Class | Class source |
Files (41) | / | tests | / | Objects |
File | Role | Description |
---|---|---|
Address.php | Class | Class source |
Autobot.php | Class | Class source |
OtherAnnotation.php | Test | Unit test script |
Person.php | Class | Class source |
PersonWithEscapedFQCN.php | Class | Class source |
PersonWithMultipleAddresses.php | Class | Class source |
SimplePerson.php | Test | Unit test script |
Files (41) | / | tests | / | res |
File | Role | Description |
---|---|---|
person.json | Data | Auxiliary data |
person_field_variation.json | Data | Auxiliary data |
person_multiple.json | Data | Auxiliary data |
person_multiple_addresses.json | Data | Auxiliary data |
person_protected.json | Data | Auxiliary data |
person_string_address.json | Data | Auxiliary data |
transformer.json | Data | Auxiliary data |
Files (41) | / | tests | / | Transformer |
File | Role | Description |
---|---|---|
MicrotimeTransformer.php | Class | Class source |
PaddingTransformer.php | Class | Class source |
TagTransformer.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
json-object-mapper-2018-04-27.zip 26KB | |
json-object-mapper-2018-04-27.tar.gz 13KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.