public class TeamMembersHeadline
{
public Team_Members[] team_members { get; set; }
public string homepage_headline { get; set; }
}
should read
public class TeamMembersHeadline
{
public TeamMembers[] team_members { get; set; }
public string HomepageHeadline { get; set; }
}
with the default csharp naming convention.
Fix to be performed in RetrievePageAsync<T>. If you're afraid of breaking changes, a different method or overload could be created or, at the very least a RetrievePageJsonAsync. Even if you do implement RetrievePageJsonAsync, I strongly recommend adding one of the other options as a built-in way to deserialize without having to use weird naming or attributes.
This model used in the tests
should read
with the default csharp naming convention.
Fix to be performed in
RetrievePageAsync<T>
. If you're afraid of breaking changes, a different method or overload could be created or, at the very least aRetrievePageJsonAsync
. Even if you do implementRetrievePageJsonAsync
, I strongly recommend adding one of the other options as a built-in way to deserialize without having to use weird naming or attributes.