Skip to content

The json module page uses "object" confusingly #134150

Closed
@nedbat

Description

@nedbat

Documentation

On the json module page, the word "object" can mean two things: a Python object (any Python value) or a JSON object (a thing enclosed in curly braces). That ambiguity could be explained at the top of the page, and then we could clarify the uses of the word throughout the page.

This came up when someone was confused that object_hook wasn't applying to strings loaded from the JSON.

Linked PRs

Activity

added a commit that references this issue on May 17, 2025

pythongh-134150: Clarify distinction between JSON objects and Python …

added a commit that references this issue on May 18, 2025

gh-134150: Clarify distinction between JSON and Python objects (#134154)

fa4e088
added a commit that references this issue on May 18, 2025

pythongh-134150: Clarify distinction between JSON and Python objects (p…

added 2 commits that reference this issue on May 18, 2025

[3.13] gh-134150: Clarify distinction between JSON and Python objects (

ebe54d7

[3.14] gh-134150: Clarify distinction between JSON and Python objects (

bf39dec

2 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Done

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      The `json` module page uses "object" confusingly · Issue #134150 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant