From 7fdfe692518f0fe9de605fdef485b39568ba32c3 Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Thu, 22 Feb 2024 19:36:43 +0700 Subject: [PATCH] docs: Update README --- CHANGELOG.md | 1 + README.md | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67304be3..61e37d7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * chore: Simplify remembering mapper. * refactor: Deprecate serializer context. * feat: null to `Traversable` or `ArrayAccess` is now handled & returns empty. +* chore: Add `readonly` or implement `ResetInterface` to applicable classes. ## 1.0.0 diff --git a/README.md b/README.md index 58224fea..298529e7 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,9 @@ a few keystrokes. * Handles recursion and circular references. * Inheritance support. Maps to abstract classes and interfaces using an inheritance map attribute. +* Maps to and from `stdClass`, objects extending `stdClass`, and other objects + with dynamic properties (`#[AllowDynamicProperties]`). +* Maps an object to an array, and vice versa. ### Custom Mapping @@ -87,6 +90,8 @@ a few keystrokes. ones. * Match classes using attributes in your transformers, in addition to using class names. +* Preset mapping. Provide a table of predetermined mappings that the mapper can + use. ### Object Lazy-Loading