I have one entity with a json column (linked to a nested model not persisted in DataBase). I need to encode/decode data from post/put/get to nested objects and save it as JSON or decoded from JSON to models.
Api documentation should reflect the json structure.
- I have made the project, entities, classes, only the bellow bug should be fixed:
Problem is when i POST new data i get the following error: ""hydra:description": "Nested documents for attribute \"humanAssets\" are not allowed. Use IRIs instead.","
I need to save data as a json in the column, serialized from Models.
You need to have experience with:
- Api platform