Method FromJson
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
FromJson(string)
Reads a baseline from JSON.
public static QueryGuardBaseline FromJson(string json)
Parameters
jsonstringThe document text.
Returns
- QueryGuardBaseline
The baseline.
Exceptions
- ArgumentNullException
jsonis null.- QueryGuardBaselineFormatException
The document is not valid JSON, or its schema version is one this build cannot read.