marshmallow-jsonapi
JSON API 1.0 (https://jsonapi.org) formatting with marshmallow
Decision gist · record as of 2026-08-14
No. The package is archived and abandoned since 2023-06-28, with no releases for over 5 years. While it has low install friction and permissive licensing, the lack of maintenance means it will not receive bug fixes, security updates, or compatibility patches for current Python and marshmallow versions. Use only if you have an existing codebase already depending on it and cannot migrate; for new projects, choose an actively maintained JSON API library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.6; the package is archived and receives no updates.
- Low install friction; depends only on marshmallow.
- However, the package is archived and unmaintained since 2023-06-28, with no releases in over 5 years.
License · maintenance · safety
MIT (permissive) — MIT licensed (permissive). You can use, modify, and distribute freely with minimal restrictions, though you must include the license notice.
last release 2020-12-27 (2056 days) · last repo commit 2023-06-28 · 212 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 99,830 downloads/mo, #13,010 on PyPI
Alternatives
Verify before relying
pip install marshmallow-jsonapi
from marshmallow_jsonapi import Schema, fields
class PostSchema(Schema):
id = fields.Str(dump_only=True)
title = fields.Str()
class Meta:
type_ = "posts"
schema = PostSchema()
result = schema.dump(post_object)- Whether the package remains compatible with current versions of marshmallow and modern Python 3.x releases.
- Whether JSON API 1.0 spec compliance is maintained across edge cases or has drifted since the last release.
What it is and what it does
marshmallow-jsonapi extends marshmallow to serialize Python objects into JSON API 1.0-compliant responses. It handles the structural requirements of the JSON API spec—wrapping data in a top-level 'data' key, separating attributes from relationships, and generating proper resource linkage—so you don't have to manually construct the envelope. You define a schema with field types and relationship declarations, then call dump() to get a spec-compliant response ready to send from your web API.
The package is built on top of marshmallow and adds JSON API-specific field types (like Relationship) and a Meta configuration layer to declare resource types and relationship URLs. It works with any Python web framework and is designed for straightforward serialization workflows where you want JSON API compliance without building the response structure by hand.
Use it for
- Serialize REST API responses to JSON API 1.0 format in Flask, Django, or FastAPI applications.
- Define relationships between resources (author, comments) and automatically generate proper linkage in the response.
- Validate and deserialize incoming JSON API requests back into Python objects using marshmallow's validation layer.
- Build a consistent API response structure across multiple endpoints without manually constructing the envelope.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is archived and abandoned since 2023-06-28, with no releases for over 5 years. While it has low install friction and permissive licensing, the lack of maintenance means it will not receive bug fixes, security updates, or compatibility patches for current Python and marshmallow versions. Use only if you have an existing codebase already depending on it and cannot migrate; for new projects, choose an actively maintained JSON API library.
Install
marshmallow-jsonapi on PyPI
Before you install
Low install friction; depends only on marshmallow. However, the package is archived and unmaintained since 2023-06-28, with no releases in over 5 years. Use only if you are committed to maintaining compatibility yourself or have no active development planned.
Requires Python >= 3.6; the package is archived and receives no updates.
License in practice
MIT licensed (permissive). You can use, modify, and distribute freely with minimal restrictions, though you must include the license notice.
Quickstart
pip install marshmallow-jsonapi
from marshmallow_jsonapi import Schema, fields
class PostSchema(Schema):
id = fields.Str(dump_only=True)
title = fields.Str()
class Meta:
type_ = "posts"
schema = PostSchema()
result = schema.dump(post_object)
Verify before relying
- Whether the package remains compatible with current versions of marshmallow and modern Python 3.x releases.
- Whether JSON API 1.0 spec compliance is maintained across edge cases or has drifted since the last release.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagemarshmallow |
| Maintenance | Abandoned 2,056 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 99,830 / month, #13,010 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: marshmallow_jsonapi-0.24.0-py2.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 › “json api serialization”
- marshmallow-jsonapiProduces JSON API 1.0-compliant output from Python objects using…
- microsoft-kiota-serialization-jsonSerializes and deserializes JSON payloads for Kiota-generated API…
- srslysrsly provides a unified API for serializing and deserializing data…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also flask-marshmallow · marshmallow · djangorestframework-jsonapi · apispec · marshmallow-sqlalchemy · marshmallow-oneofschema · DeepFriedMarshmallow · amundsen-common · uplink · sqlalchemy-serializer