skip to Main Content

Symfony 6 Deserializing JSON array

I receive a JSON string containing an array of objects similar to this: {"expert": "foo", "username": "bar", "activity": [{"action": "RFDF", "count": 172}","{"action": "RETA", "count": 10},{"action": "AS", "count": 3}]} I want to decode it into a model like this (I read…

VIEW QUESTION
Back To Top
Search