Class JsonStringEscaper
Appends an RFC 8259 quoted, escaped JSON string literal to a StringBuilder.
Inherited Members
Namespace: Serenity.StructuredPersistence.Infrastructure.Json
Assembly: Serenity.StructuredPersistence.Json.dll
Syntax
public static class JsonStringEscaper
Methods
WriteQuotedString(StringBuilder, string)
Appends value to builder as a quoted, escaped JSON string.
Declaration
public static void WriteQuotedString(StringBuilder builder, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| StringBuilder | builder | The builder to append to. |
| string | value | The raw string value to escape and quote. Must not be null. |