Closed
Description
Not that I feel this is complicated but one thing I have always loved regarding .NET documentation was the inclusion of simple examples.
How about something as simple as:
string jsonString = @"{
"key": "value",
"num": 2
}";
var json = JsonObject.Parse(jsonString);
Console.WriteLine("Key: {0}", json["key"]);
Console.WriteLine("Num: {0}", json["num"]);
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 17103a78-f993-6757-93f8-8d933c55fa6c
- Version Independent ID: 149b2685-d6c4-8be2-5ec8-980c53af0692
- Content: JsonObject Class (System.Json)
- Content Source: xml/System.Json/JsonObject.xml
- Product: dotnet-api
- GitHub Login: @dotnet-bot
- Microsoft Alias: dotnetcontent