Releases: dealfonso/typedobject
Releases · dealfonso/typedobject
Release list
0.4.0
- Introduction of
TypedObjectSimpleclass that guesses the data model from the typed properties of the objects. In that case, the use of constantATTRIBUTESis ignored. - Use
mixedtype instead ofdynamic - Add internal type
array - Correct some bugs
Full Changelog: 0.3.1...0.4.0
0.3.1
- correct one bug when creating or parsing arrays
- enhance docs
Full Changelog: 0.3.0...0.3.1
0.3.0
TypedObject is a PHP class to ease the usage of objects coming from a JSON definition. It enables to parse JSON objects and convert them into PHP objects, ready to be used in your application.
The library takes care of checking the types of the values for the attributes, and changing them to meet your data model.
This is a whole new version, with lots of new features, and observing Typed Properties in PHP 7.4
0.2.1
- Change string type to
stringinstead ofstrto match php types - Correct some bugs
Full Changelog: 0.2.0...0.2.1
0.2.0
- Add constants
STRICT_TYPE_CHECKINGandSTRICT_TYPE_CHECKING_EMPTY_ZERO - Add sorting and filtering for JsonLists
- Add negative index for JsonLists
Full Changelog: 0.1.1...0.2.0