Table of Contents

Method IsValidJson

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IsValidJson(string)

Checks whether specified string a valid json text.

public static bool IsValidJson(string s)

Parameters

s string

String to check.

Returns

bool

true if s is a valid json string; otherwise returns false.