I need to make a JSON string like this using JSON.NET:
{
"description": "the description",
"public": true,
"files": {
"index.html": {
"content": "some value"
}
}
}
So how can I do that?
I tried creating a class for it, but I don't know how to create a field with name "public"
because public
is C# keyword.