LordNeilLord
3 years agoNew Contributor II
Mixed array and object JSON
Hello, I have a feed coming from github which I need to get certain attributes but some of the items are being returned as arrays and some are being returned as objects!
Does anyone know how I can ...
- 10 months ago
That's the only way since your string is definitely not valid JSON. You need it to look like this:
{"language": "Tamil", "taskId": 123}