Skip to content

IsJson Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

bool IsJson(string input) ​

csharp
bool IsJson(string input)

Returns when input is a valid JSON object or array.

Parameters ​

NameDescription
inputThe candidate JSON string.

Returns ​

if the string parses as a JSON object or array; otherwise .