Skip to content

No Examples? #1284

Closed
Closed
@Bungalow12

Description

@Bungalow12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🏁 Release: .NET Core 2.xIdentifies work items for the .NET Core 2.x releasesPri2Indicates issues/PRs that are medium priorityarea-MetaConcerns something that extends across runtime area boundaries, for example, IDisposable.dotnet-api/prodexample-requestIndicates issues requesting samplesnew-contentIndicates PRs that contain new articles

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions