jsonfield
A reusable Django field that allows you to store validated JSON in your model.
Decision gist · record as of 2026-08-14
No—do not install this package for new projects. It is deprecated and inactive; Django 3.1+ provides a native, maintained JSONField. If you maintain legacy code already using jsonfield, plan a migration to Django's implementation. The package carries no security vulnerabilities but receives no updates and will eventually be archived.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django and Python 3.10 or later.
- Package is deprecated; Django 3.1+ users should migrate to models.JSONField instead.
- Low friction installation, but the package is marked inactive (Development Status 7) and explicitly deprecated since Django 3.1 introduced native JSONField support.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it legally safe to use or modify—though the deprecation status makes long-term reliance inadvisable.
last release 2025-07-04 (406 days) · last repo commit 2025-07-04 · 1,160 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,121,912 downloads/mo, #4,333 on PyPI
Alternatives
Verify before relying
pip install jsonfield
from django.db import models
from jsonfield import JSONField
class MyModel(models.Model):
json = JSONField()- Whether existing projects using this package face any compatibility issues with current Django versions beyond the deprecation notice.
- Whether the migration path from jsonfield.JSONField to models.JSONField is truly straightforward for complex schemas or custom validators.
What it is and what it does
jsonfield is a Django model field for storing JSON data that handles serialization and deserialization automatically. It wraps JSON values so they can be persisted to the database and queried using basic lookups (exact, regex). The field supports customization of null handling and deserialization behavior (e.g., using OrderedDict for key ordering).
However, this package is deprecated and no longer maintained. Django 3.1 introduced a native JSONField that works across all supported database backends, making jsonfield obsolete. The package's last release was over a year ago, and its status is marked inactive. New projects should use Django's built-in JSONField; existing projects using jsonfield should plan a migration, which the documentation describes as generally straightforward but may require data migrations in complex cases.
Use it for
- Storing flexible JSON structures in Django models when using older Django versions (pre-3.1) that lack native JSONField support.
- Migrating legacy Django applications that already use jsonfield and need to maintain compatibility during a transition period.
- Querying JSON fields with basic exact or regex lookups in projects that do not require advanced JSON query capabilities.
- Customizing JSON deserialization behavior (e.g., preserving key order with OrderedDict) in older Django codebases.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—do not install this package for new projects.
It is deprecated and inactive; Django 3.1+ provides a native, maintained JSONField. If you maintain legacy code already using jsonfield, plan a migration to Django's implementation. The package carries no security vulnerabilities but receives no updates and will eventually be archived.
Install
jsonfield on PyPI
Before you install
Low friction installation, but the package is marked inactive (Development Status 7) and explicitly deprecated since Django 3.1 introduced native JSONField support. Last release was 406 days ago. Existing projects should plan migration to Django's implementation rather than adopt this package.
Requires Django and Python 3.10 or later. Package is deprecated; Django 3.1+ users should migrate to models.JSONField instead.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it legally safe to use or modify—though the deprecation status makes long-term reliance inadvisable.
Quickstart
pip install jsonfield
from django.db import models
from jsonfield import JSONField
class MyModel(models.Model):
json = JSONField()
Verify before relying
- Whether existing projects using this package face any compatibility issues with current Django versions beyond the deprecation notice.
- Whether the migration path from jsonfield.JSONField to models.JSONField is truly straightforward for complex schemas or custom validators.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjango |
| Maintenance | Aging 406 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,121,912 / month, #4,333 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 7 - InactiveEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: jsonfield-3.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django json field”
- jsonfieldA Django model field that stores and retrieves JSON data with…
- django-jsonfieldProvides a JSONField for Django models that stores JSON-encodable…
- djangocms-attributes-fieldProvides a Django model field and widget for storing and managing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also django-deprecate-fields · django-jsonfield · django-picklefield · django-bitfield · djangocms-attributes-field · SQLAlchemy-JSONField · django-enumfields · django-pydantic-field · php2json · django-multiselectfield