-
According to the Documentation here (Data can also be created from JSON strings: ...), I should be able to create a DataObject from a JSON string without the need for a magic method. But when I try the exact example from the docs, I'm getting this error:
did I misunderstand the docs? or is there a mistake in the docs and I do have to use an explicit magic method for JSON strings? P.S. I'm using V3.8.1 (the most current at the time) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
We have a test testing: this: Is your JSON valid? Check |
Beta Was this translation helpful? Give feedback.
Ahh I was missing the JsonNormlizer on my DataObject
sorry, I'm still new to the lib. And the section of the docs I cited, doesn't mention the need to use the Normalizer when creating from JSON.
Thanks for the quick reply and for pointing me in the right direction!