Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • But it's not completely dynamic, right? Sometimes you have Lastname, sometimes you have Firstname, and you just need one or the other or both, right? Commented Jan 13, 2021 at 13:55
  • Also, System.Text.Json does not currently support deserializing to dynamic objects, see Read value from dynamic property from json payload. Commented Jan 13, 2021 at 15:10
  • Use ExpandoObject instead of dynamic Commented Jul 16, 2021 at 4:34