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-sdkencryptionEncryptionget_json_encryptor
    Method●Since v0.2

    get_json_encryptor

    Copy
    get_json_encryptor(
        self,
        _model: str | None = None,
    ) -> types.JsonEncryptor 
    View source on GitHub
    |
    None

    Parameters

    NameTypeDescription
    _modelstr | None
    Default:None

    Get the JSON encryptor.

    Ignored. Kept for backwards compatibility with langgraph-api which passes model_type to this method.