format Json array(?) in post-request C#

Viewed 20

How do I model a class for these types of json objects using C#? or simply hardcode it in a string. Been trying to search around, but I dont find any examples with the json structure I need.

{
"datasets": [
    {
      "id": "xxxxxx"
    }
  ],

 "reports": [
    {
      "allowEdit": true,
      "id": "xxxxxxx"
    }
]
}
0 Answers
Related