Table of Contents

Class JsonObject

Namespace
nanoFramework.Json
Assembly
nanoFramework.Json.dll

Represents single JSON object that contains multiple JSON properties.

public sealed class JsonObject : JsonToken
Inheritance
JsonObject
Inherited Members
Extension Methods

Constructors

JsonObject()

public JsonObject()

Properties

Members

Gets the collection of values from nanoFramework.Json.JsonObject._members.

public ICollection Members { get; }

Property Value

ICollection

Methods

Add(string, JsonToken)

Adds new key value pair to collection.

public void Add(string name, JsonToken value)

Parameters

name string

JSON property key.

value JsonToken

JSON property value.

Get(string)

Gets the value of property for given key.

public JsonProperty Get(string name)

Parameters

name string

JSON property key.

Returns

JsonProperty

JsonProperty object which contains key and value of object.