DevicesJson Class

Namespace: id3.Devices

Definition

Specializes in parsing strings in JSON format and generating JSON strings from its contents, serving as a utility for JSON data handling.

Properties

Name

Type

Description

count

int

Gets the number of elements contained in the dict

keys

StringList

Gets a string list containing the keys in the dict.

operator [string key]

string

Gets or sets the element for the key in the dict.

Iteration

This class supports iteration in Dart, C#, Java and Python.

The iteration is done on keys

Methods

Name

Description

add

Adds an item to the DevicesJson object.

clear

Clears the DevicesJson object.

containsKey

Determines whether the DevicesJsonobject contains the specified key.

dumpToString

Creates a JSON-formatted string from the internal representation of the data.

get

Gets an item of the DevicesJson object.

getCount

Gets the number of elements in the DevicesJson object.

parse

Converts a string in JSON format into a manageable format within the class.

remove

Removes an element of the DevicesJson object.

set

Sets an item of the DevicesJson object.