Skip to content

Receiving Inconsistent JSON Data - Class Object/Array of Class Objects #144

@RA-AlexRees

Description

@RA-AlexRees

Hi,
I have JSON data, from a client, where the input is either a class object or an array of class objects. Ideally, I would want to always have an array/list so if it is just a single class object, append it to the array instead.

I hope that makes sense.

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