Method ToJson
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
ToJson()
Renders the baseline as JSON.
public string ToJson()
Returns
- string
The document text, ending with a newline.
Remarks
Indented and newline-terminated because this file is committed and reviewed by people. Written by hand rather than by serializing the type, for the same reason the JSON report is: serializing would make the file format an accident of the class layout, so renaming a property would break every baseline already committed.