Repository navigation
FAQ
Check the path: segments are separated by /, keys are case-sensitive, and the
schema value must start with exactly @data/. List indexes are numbers:
@data/items/0/sku.
Return it from a callback, or build it so it does not start with the prefix in the schema, for example by mapping a placeholder and replacing it in the callback.
Yes. Pass it to StringObjects::instance($json). Invalid JSON throws
InvalidArgumentException.
Mapper::map() returns arrays. Pass the result to your object factory or
hydrator, or cast it: (object) $result for a flat result.
No. Dalue only reads from the StringObjects instance.
Open an issue. Report security problems privately as described in SECURITY.md.
Dalue is licensed under GPL-3.0-or-later. Source: uuur86/dalue · Edit these pages in docs/wiki.