Serialize any object into array and bind any data structure to an object/array; Can (de)serialize into JSON or XML.
MIT License
PropertyPatternInterface::prepare()
SerializerObject::withIgnoreProperties(array $properties)
Full Changelog: https://github.com/byjg/php-serializer/compare/4.9.1...4.9.2
Published by byjg 10 months ago
Add CamelToSnakeCase and SnakeToCamelCase property patterns
Full Changelog: https://github.com/byjg/php-serializer/compare/4.9.0...4.9.1
Published by byjg over 1 year ago
New Class/Method | Status | More Info |
---|---|---|
BindableInterface | New | |
BindableObject | New | split of BinderObject |
DumpToArrayInterface | Removed | |
SerializerObject::instance() | New | |
SerializerObject::serialize() | Renamed | from SerializerObject::build() |
BinderObject::bind() | Renamed | from BinderObject::bindObject() |
SerializerObject::serialize() | Replace | replace BinderObject::toArrayFrom() |
SerializerObject::serializeProperties() | Renamed and change to private | from SerializerObject::buildProperty() |
SerializerObject::serializeArray() | Renamed and change to private | from SerializerObject::buildArray() |
SerializerObject::serializeStdClass() | Renamed and change to private | from SerializerObject::buildStdClass() |
SerializerObject::serializeObject() | Renamed and change to private | from SerializerObject::buildObject() |
SerializerObject getter and setter | Renamed | All getters and setters |
Plus:
Full Changelog: https://github.com/byjg/serializer/compare/1.0.7...4.9.0
Published by byjg over 6 years ago
Changed the Generic Exception to InvalidArgumentException
Published by byjg over 6 years ago
Removed Backward compatibility PHPUnit
Published by byjg about 7 years ago
Published by byjg over 7 years ago
Published by byjg over 7 years ago
Added the method Serializer::setDoNotParse to avoid serialize some classes
Published by byjg over 7 years ago
Added PlainTextFormatter
Published by byjg over 8 years ago
Some minor adjusts
Published by byjg over 8 years ago
First release extracted from "byjg/anydataset" project.