# rpkilby/jsonfield

A reusable Django model field for storing ad-hoc JSON data

Repository: https://github.com/rpkilby/jsonfield
Canonical: https://ross.abutalabs.com/products/jsonfield
Language: Python
License: MIT
License Family: permissive
Topics: python, django, json
Last push: 2025-07-04T23:04:43+00:00

## Health v2 (maintenance only)
Score: 36/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 30, release rhythm 8, longevity 100
- inputs: {"age_days": 6331, "days_push": 425, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1160, forks 265 (observed 2026-08-28T04:03:49.102499+00:00)

## What it is
A reusable Django model field for storing validated, ad-hoc JSON data with automatic serialization to and from the database. It is now deprecated in favor of Django's native models.JSONField introduced in Django 3.1.

## Use cases
- store json data in a django model
- add a json field to django models on old django versions
- serialize json to database column in django
- store ad-hoc json payloads in django orm
- migrate legacy jsonfield to django native jsonfield

## When to choose
- you maintain a legacy Django project (pre-3.1) that cannot use the native JSONField
- you need a simple JSON column with basic text-style lookups and no advanced querying

## When to avoid
- you are on Django 3.1 or newer - use the built-in models.JSONField instead
- you need JSON-specific querying like key-path lookups or containment operators
- you are starting a new project

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, database
- domain: databases, web-development, backend
- platform: python, cross-platform
- tags: django, json-field, orm, deprecated, model-field

## Member repositories
- rpkilby/jsonfield (main) score 36

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.102499+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:49.678455+00:00, confidence not recorded.
  - readme: https://github.com/rpkilby/jsonfield (fetched 2026-08-28T04:03:49.102499+00:00, sha 44da2e3ef0df)
  - registry_pypi: https://pypi.org/pypi/jsonfield/json (fetched 2026-08-29T12:36:27.497860+00:00, sha 981f3f810d85)
- Data as of 2026-08-30T08:39:29.467469+00:00.
