logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.StructuredPersistence.Infrastructure.Json

    Classes

    JsonObjectWriter

    Builds a single flat JSON object literal one property at a time, handling comma placement, string escaping, and null values. Used to compose small fixed wire DTOs.

    JsonParseException

    Thrown by JsonValue when input text is not valid JSON, or does not match the expected shape.

    JsonStringEscaper

    Appends an RFC 8259 quoted, escaped JSON string literal to a StringBuilder.

    JsonValue

    A parsed JSON value produced by a minimal, dependency-free recursive-descent parser. Covers exactly the JSON shapes needed to decode the structured-store wire/file payloads: objects, arrays, strings, numbers, booleans, and null. Nesting beyond Serenity.StructuredPersistence.Infrastructure.Json.JsonValue.MAX_PARSE_DEPTH levels is rejected so a hostile deeply-nested payload cannot exhaust the stack.

    Enums

    JsonValueKind

    The shape a parsed JsonValue holds.

    In this article
    © 2026 Serenity. All Rights Reserved