ts-type-forge
    Preparing search index...

    Type Alias MutableJsonObject

    MutableJsonObject: MutableRecord<string, MutableJsonValue>

    Represents a mutable JSON object with string keys and MutableJsonValue values. All properties can be modified after creation, making it suitable for building or transforming JSON structures.

    const builder: MutableJsonObject = {};
    builder.timestamp = Date.now();
    builder.data = { message: "Hello" };
    builder.tags = ["info", "user-action"];

    // All modifications are allowed
    builder.data = { message: "Updated" }; // ✓ valid