Skip to content

JSON deserialization errors in C# 'REST Client' tutorial #49387

@StuartMosquera

Description

@StuartMosquera

Type of issue

Code doesn't work

Description

When running the final code, the properties GitHubHomeUrl and LastPushUtc don't display correctly. This seems to be caused by a mismatch between property names and JSON keys.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/tutorials/console-webapiclient

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/tutorials/console-webapiclient.md

Document Version Independent Id

5415878b-e60b-5433-7b4b-efc8259908f0

Platform Id

1818f1ab-6db8-c7f8-1cb5-796181029761

Article author

@BillWagner

Metadata

  • ID: 3bfcc1a8-ddda-810c-17b0-56a506045d67
  • PlatformId: 1818f1ab-6db8-c7f8-1cb5-796181029761
  • Service: dotnet-csharp
  • Sub-service: fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions