JsonObject.TryParse Method

Parses the specified string that represents a JSON object into a JsonObject.

Syntax

public:
static bool TryParse(
         String^ input,
         out JsonObject^ result
)  

Parameters

input
Type: String 

  The specified JSON string.

result
Type: JsonObject 

The resultant JsonObject.

Return value

Type: bool 

  True if the JsonValue object was successfully created; otherwise, false.

Requirements

Namespace: Windows.Data.Json

Metadata: windows.winmd

See also

Reference

JsonObject Class

JsonObject Members

Windows.Data.Json Namespace