Skip to content

Some summary values are not being mapped from JSON #4

Description

@mattio

When I convert a JSON response to a C# object, such as var routine = json.ToResult<List<Routine>>(); I noticed the start_date, end_date, and parameters values from the summary are null. Others like limit, message, status seem to be set correctly.

I changed the DataMember attributes to JsonProperty on the Summary class and all JSON properties were mapped correctly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions