Skip to content

IsValidJson Method ​

Definition ​

  • Namespace: JASE.Serializers
  • Assembly: JASE.Serializers.dll

bool IsValidJson(string json) ​

csharp
bool IsValidJson(string json)

Returns when json is a valid JSON object or array.

Remarks ​

The structural parse lives in JASE.Extensions.StringValidationExtensions.IsJson(System.String) (JASE.Primitives, BCL-only); this facade method delegates to it so there is a single source of truth.