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

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

Determines whether the string contains valid json.

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

Syntax


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

Type Parameters

T

Parameters

stringValue
Type: String
The string value.
settings
Type: JsonSerializerSettings
value
Type: T%
the value to serailize to

Return Value

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