-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Currently if processor is given an output from json_decode($value), an stdClass is casted to array in case it's in place of a MappedObjectValue. But stdClass makes sense to handle also in case of an ArrayOf and a ListOf.
Handling should be also available in Value in case printer decides to print an invalid value.
We should also consider that fix on user side is as simple as json_decode($value, true) and that it may work only for some formats:
- neon may use an entity which extends
stdClassand adds an extra properties. - xml may be returned as e.g. a
SimpleXMLElementand we have no way of casting it to an array, handling attributes or printing errors while maintaining the original xml structure
Addition information
No response
Related issues
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request