JsonObject.TryParse(String, JsonObject) 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.
Parses the specified string that represents a JSON object into a JsonObject.
public:
static bool TryParse(Platform::String ^ input, [Out] JsonObject ^ & result);
static bool TryParse(winrt::hstring const& input, [Out] JsonObject const& & result);
public static bool TryParse(string input, out JsonObject result);
Public Shared Function TryParse (input As String, ByRef result As JsonObject) As Boolean
Parameters
- input
-
String
Platform::String
winrt::hstring
The specified JSON string.
- result
- JsonObject
The resultant JsonObject.
Returns
Boolean
bool
True if the JsonValue object was successfully created; otherwise, false.