WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

StringExtensions..::..IsValidJson<(Of <(<'T>)>)> Method (String, T%)

Determines whether the string contains valid json and will serialize the object is possible.

Namespace:  System
Assembly:  Walter (in Walter.dll)

Syntax


public static bool IsValidJson<T>(
	string stringValue,
	out T value
)

Type Parameters

T

Parameters

stringValue
Type: String
The string value.
value
Type: T%
the value to serialize to

Return Value

true if [is valid json] [the specified string value]; otherwise, false.

Remarks


Json constructor is preferred even if not public