🌐
Python
docs.python.org › 3 › library › json.html
json — JSON encoder and decoder — Python 3.14.3 documentation
2 weeks ago - Source code: Lib/json/__init__.py JSON (JavaScript Object Notation), specified by RFC 7159(which obsoletes RFC 4627) and by ECMA-404, is a lightweight data interchange format inspired by JavaScript...
🌐
The Hitchhiker's Guide to Python
docs.python-guide.org › scenarios › json
JSON — The Hitchhiker's Guide to Python
d = { 'first_name': 'Guido', 'second_name': 'Rossum', 'titles': ['BDFL', 'Developer'], } print(json.dumps(d)) '{"first_name": "Guido", "last_name": "Rossum", "titles": ["BDFL", "Developer"]}' This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.
🌐
Readthedocs
jsons.readthedocs.io
Features — jsons documentation
Jsons is a library that allows you to serialize your plain old Python objects to readable json (dicts or strings) and deserialize them back. No magic, no special types, no polluting your objects.
🌐
MicroPython
docs.micropython.org › en › latest › library › json.html
json – JSON encoding and decoding — MicroPython latest documentation
This module implements a subset of the corresponding CPython module, as described below. For more information, refer to the original CPython documentation: json. This modules allows to convert between Python objects and the JSON data format.
🌐
Jsonpickle
jsonpickle.github.io
jsonpickle documentation
dicts, lists, strings, ints, etc.). jsonpickle builds on top of these libraries and allows more complex data structures to be serialized to JSON. jsonpickle is highly configurable and extendable–allowing the user to choose the JSON backend and add additional backends. Python library for serializing any arbitrary object graph into JSON.
🌐
Readthedocs
simplejson.readthedocs.io
simplejson — JSON encoder and decoder — simplejson 3.19 ...
The simplejson module will produce str objects in Python 3, not bytes objects. Therefore, fp.write() must support str input. See dumps() for a description of each argument. The only difference is that this function writes the resulting JSON document to fp instead of returning it.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-json
Python JSON - GeeksforGeeks
December 23, 2025 - Convert and transform data between JSON, XML, CSV, and text formats in Python, enabling easy storage, sharing, and interoperability across different applications. ... Perform additional JSON operations in Python, including formatting, pretty-printing, flattening nested objects, validating JSON strings, and sorting JSON data by values.
🌐
Python Cheatsheet
pythoncheatsheet.org › home › modules › json module
Python JSON Module - Python Cheatsheet
import json # JSON string to parse json_person = '{"name": "Charles", "age": 33, "has_hair": false, "hobbies": ["photography", "running"]}' # Parse JSON string into Python dictionary python_person = json.loads(json_person) python_person
Find elsewhere
🌐
freeCodeCamp
freecodecamp.org › news › how-to-use-the-json-module-in-python
How to Use the JSON Module in Python – A Beginner's Guide
June 5, 2023 - You'll often need to read data from a JSON file. For example, you may need to read configuration settings from a JSON file. Python's JSON module provides the json.load() function, which allows you to read and deserialize JSON data from a file.
🌐
Pypi
docs.pypi.org › api › json
JSON API - PyPI Docs
This page documents the PyPI-specific JSON API. If all you need is a JSON index API (e.g.
🌐
LangChain
python.langchain.com › docs › how_to › document_loader_json
How to load JSON
Python · Overview · Install · Quickstart · Changelog · Philosophy · Agents · Models · Messages · Tools · Short-term memory · Overview · Structured output · Overview · Prebuilt middleware · Custom middleware · Overview · Markdown Messages · Tool Calling ·
🌐
W3Schools
w3schools.com › python › python_json.asp
Python JSON
JSON is text, written with JavaScript object notation. Python has a built-in package called json, which can be used to work with JSON data.
🌐
Real Python
realpython.com › python-json
Working With JSON Data in Python – Real Python
August 20, 2025 - You can minify and prettify JSON using Python’s json.tool module. Since its introduction, JSON has rapidly emerged as the predominant standard for the exchange of information. Whether you want to transfer data with an API or store information in a document database, it’s likely you’ll ...
🌐
DataCamp
datacamp.com › tutorial › json-data-python
Python JSON Data: A Guide With Examples | DataCamp
December 3, 2024 - Learn how to work with JSON in Python, including serialization, deserialization, formatting, optimizing performance, handling APIs, and understanding JSON’s limitations and alternatives.
🌐
JSON
json.org
JSON
It is based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.
🌐
jsonschema
python-jsonschema.readthedocs.io
jsonschema 4.26.0 documentation
PyPI version Supported Python versions Build status ReadTheDocs status pre-commit.ci status Zenodo DOI jsonschema is an implementation of the JSON Schema specification for Python. It can also be us...
🌐
Pandas
pandas.pydata.org › docs › reference › api › pandas.read_json.html
pandas.read_json — pandas 3.0.1 documentation
Specific to orient='table', if a DataFrame with a literal Index name of index gets written with to_json(), the subsequent read operation will incorrectly set the Index name to None. This is because index is also used by DataFrame.to_json() to denote a missing Index name, and the subsequent read_json() operation cannot distinguish between the two.
🌐
OpenAI
platform.openai.com › docs › guides › structured-outputs
Structured model outputs | OpenAI API
In addition to supporting JSON Schema in the REST API, the OpenAI SDKs for Python and JavaScript also make it easy to define object schemas using Pydantic and Zod respectively.
🌐
Python documentation
docs.python.org › 3 › tutorial › inputoutput.html
7. Input and Output — Python 3.14.3 documentation
Rather than having users constantly ... JSON (JavaScript Object Notation). The standard module called json can take Python data hierarchies, and convert them to string representations; this process is called serializi...
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Core › Scripting › JSON
Working with JSON - Learn web development | MDN
JSON is a text-based data format following JavaScript object syntax. It represents structured data as a string, which is useful when you want to transmit data across a network. Even though it closely resembles JavaScript object literal syntax, it can be used independently from JavaScript.