JsonElement.FromJson Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.