api-library
api-library copied to clipboard
Contact API Json deserialize issue
When there is no contacts found, it returns below json
{ "total": "0", "contacts": [] }
When record found, it returns
{ "total": "1", "contacts": { "1": { "isPublished": true, "dateAdded": "2021-05-01T09:37:07+00:00", "dateModified": "2021-05-06T13:22:35+00:00", .......... "id": 1, ] },
I have issue with deserialize "contacts": [] and "contacts": {} from same http request. For PHP it might be ok but with other language, it is having issue.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.