Skip to main content

Django-JSONPlus

Django extension for non-basic types’ serialization to JSON via jsonplus lib.

Install

Install from PyPI:

pip install django-jsonplus

Add to your settings.py:

INSTALLED_APPS = [
    <other-apps>

    'django_jsonplus',
]

Usage

To use jsonplus for database values (de-)serialization, use the JSONPlusField:

from django.db import models
from django.contrib.postgres.fields import JSONField
from django_jsonplus.models import JSONPlusField

class MyModel(models.Model):
    # stores only numbers, strings, lists, dicts (but not dates)
    basic_data = JSONField()

    # stores datetime, namedtuple, set, decimal, complex...
    rich_data = JSONPlusField()

Metadata

Release files for django-jsonplus 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-jsonplus 0.1.3
File Size Uploaded Provenance Actions
django-jsonplus-0.1.3.tar.gz 3.2 kB Without provenance Details for django-jsonplus-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-jsonplus 0.1.3
File Interpreter ABI Platform Actions
django_jsonplus-0.1.3-py2.py3-none-any.whl Python 3, Python 2 none any Details for django_jsonplus-0.1.3-py2.py3-none-any.whl

Total release size: 8.2 kB

Release files / django-jsonplus-0.1.3.tar.gz

Download URL django-jsonplus-0.1.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e58ca45c6e40aa429b9530027e0bccd97c034ad10cad9865ba3bcac30a75bb74
BLAKE2b-256 checksum
How to use checksums
6f0bd97453995fd38cd50df8fa54f8da1241f14d7c85c02671167fe452be51fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_jsonplus-0.1.3-py2.py3-none-any.whl

Download URL django_jsonplus-0.1.3-py2.py3-none-any.whl
Size 5.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b9c4eed4cf75a4803c36b4bfaece25303ef1fddfe107ae2e63876f9693adb965
BLAKE2b-256 checksum
How to use checksums
b3e13fae08d3a255b339f62dc2816665f3672fff54bfaab9bd71734621393d27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-jsonplus 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page