JsonElement.FromJson Method

Definition

Overloads

FromJson(JsonObject)

Creates a RootElement with its nested content from the contents of the Json object..

FromJson(JsonObject, Object)

Creates a RootElement with its nested content from the contents of the Json object..

FromJson(JsonElement, JsonObject, Object)

Creates a RootElement with its nested content from the contents of the Json object..

FromJson(JsonObject)

Creates a RootElement with its nested content from the contents of the Json object..

public static MonoTouch.Dialog.JsonElement FromJson (System.Json.JsonObject json);
static member FromJson : System.Json.JsonObject -> MonoTouch.Dialog.JsonElement

Parameters

json
JsonObject

Parsed Json object.

Returns

An instance of the JsonElement or null if the file does not exist, or the contents of the Json file can not be parsed.

Applies to

FromJson(JsonObject, Object)

Creates a RootElement with its nested content from the contents of the Json object..

public static MonoTouch.Dialog.JsonElement FromJson (System.Json.JsonObject json, object data);
static member FromJson : System.Json.JsonObject * obj -> MonoTouch.Dialog.JsonElement

Parameters

json
JsonObject

Parsed Json object.

data
Object

Parameter data passed to callbacks for the "ontap" and "onaccessorytap" calls..

Returns

An instance of the JsonElement or null if the file does not exist, or the contents of the Json file can not be parsed.

Applies to

FromJson(JsonElement, JsonObject, Object)

Creates a RootElement with its nested content from the contents of the Json object..

public static MonoTouch.Dialog.JsonElement FromJson (MonoTouch.Dialog.JsonElement parent, System.Json.JsonObject json, object data);
static member FromJson : MonoTouch.Dialog.JsonElement * System.Json.JsonObject * obj -> MonoTouch.Dialog.JsonElement

Parameters

parent
JsonElement

Parent JsonElement, if there is one

json
JsonObject

Parsed Json object.

data
Object

Parameter data passed to callbacks for the "ontap" and "onaccessorytap" calls..

Returns

An instance of the JsonElement or null if the file does not exist, or the contents of the Json file can not be parsed.

Applies to