Skip to content

Contact API Json deserialize issue #250

Description

@nimeshvaghasiya

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions