---
title: "Discussion on \"LangGraph: \"'list' object has no attribute 'root'\" after resume with a Pydantic RootModel in state\" | Hashnode"
description: "Discussion on \"LangGraph: \"'list' object has no attribute 'root'\" after resume with a Pydantic RootModel in state\". JsonPlusSerializer turns a RootModel into its raw value on checkpoint load. Wrap it in a BaseModel or store plain values."
url: "https://hashnode.com/posts/langgraph-rootmodel-checkpoint-list-object-has-no-attribute-root/6aef4ed0a1f756ec0cb0a3d5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LangGraph: "'list' object has no attribute 'root'" after resume with a Pydantic RootModel in state](https://memorysync.hashnode.dev/langgraph-rootmodel-checkpoint-list-object-has-no-attribute-root?utm_source=hashnode&utm_medium=feed)

JsonPlusSerializer turns a RootModel into its raw value on checkpoint load. Wrap it in a BaseModel or store plain values.

Nov 7 · 5 min read · memorysync.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#ai](https://hashnode.com/tag/ai)
-   [#llm](https://hashnode.com/tag/llm)
-   [#agents](https://hashnode.com/tag/agents)
-   [#pydantic](https://hashnode.com/tag/pydantic)

## Written by

[MemorySync](https://hashnode.com/@memorysync)

@memorysync · San Francisco, USA

  
[View profile](https://hashnode.com/@memorysync)

Building MemorySync (memorysync.io) — persistent memory infrastructure for AI agents, Cursor, and Claude Code.

Building MemorySync (memorysync.io) — persistent memory infrastructure for AI agents, Cursor, and Claude Code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
