LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpointserdejsonplus
    Module●Since v1.0

    jsonplus

    Attributes

    attribute
    AllowedMsgpackModules: Iterable[tuple[str, ...] | type]
    attribute
    LC_REVIVER
    attribute
    EMPTY_BYTES: str
    attribute
    logger
    attribute
    EXT_CONSTRUCTOR_SINGLE_ARG: int
    attribute
    EXT_CONSTRUCTOR_POS_ARGS: int
    attribute
    EXT_CONSTRUCTOR_KW_ARGS: int
    attribute
    EXT_METHOD_SINGLE_ARG: int
    attribute
    EXT_PYDANTIC_V1: int
    attribute
    EXT_PYDANTIC_V2: int
    attribute
    EXT_NUMPY_ARRAY: int
    attribute
    EXT_DELTA_SNAPSHOT: int

    Functions

    function
    emit_serde_event

    Emit a serde event to all listeners.

    Listener failures are isolated and logged.

    Classes

    class
    SerializerProtocol

    Protocol for serialization and deserialization of objects.

    • dumps_typed: Serialize an object to a tuple (type, bytes).
    • loads_typed: Deserialize an object from a tuple (type, bytes).

    Valid implementations include the pickle, json and orjson modules.

    class
    SendProtocol
    class
    Item
    class
    JsonPlusSerializer

    Serializer that uses ormsgpack, with optional fallbacks.

    Warning

    Security note: This serializer is intended for use within the BaseCheckpointSaver class and called within the Pregel loop. It should not be used on untrusted python objects. If an attacker can write directly to your checkpoint database, they may be able to trigger code execution when data is deserialized.

    Set the environment variable LANGGRAPH_STRICT_MSGPACK=true to restrict deserialization to a built-in allowlist of safe types. You can also pass an explicit allowed_msgpack_modules to the constructor.

    class
    InvalidModuleError

    Exception raised when a module is not in the allowlist.

    View source on GitHub