python-sdjson 0.4.0-3 source package in Ubuntu
Changelog
python-sdjson (0.4.0-3) unstable; urgency=medium * debian/control: changed maintainer name and added 'Build:Depends' * debian/patches/001.backend-change.patch: backend already packaged -- Josenilson Ferreira da Silva <email address hidden> Tue, 19 Mar 2024 22:01:56 -0300
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-sdjson_0.4.0-3.dsc | 2.3 KiB | 8417802d5a4e2e19f4d3af5de288bfce8e3bb8e7719da1406f391d1ff7f1a901 |
python-sdjson_0.4.0.orig.tar.gz | 124.1 KiB | 5d7f6f9a66ffe0d08314fda05d72b70db327b16e1729110f8a211c1071d8dce1 |
python-sdjson_0.4.0-3.debian.tar.xz | 8.8 KiB | d2a3eb414edfb5552b234a0b783ad61e4175daa09e2996a42e0d976644c8b95e |
Available diffs
- diff from 0.4.0-2 to 0.4.0-3 (1.1 KiB)
No changes file available.
Binary packages built by this source
- python3-sdjson: single-dispatch JSON encoder for Python
Module uses functools.
singledispatch to support custom encoders for Python
built-in classes and user-created classes.
.
The goal is to simplify the process of serializing objects into JSON by
allowing developers to register custom encoders for their classes,
allowing you to define instances to be converted into JSON format.
.
After coding, you can use sdjson.dumps(class_ instance) to serialize an
instance of the class into a JSON string. This makes the process of saving
objects in JSON easier.
.
In addition to serialization to a string, the project provides
the ability to serialize objects directly to JSON files using sdjson.dump
(class_instance, fp).
.
The sdjson project also supports several features of the json module,
including load, loads, JSONDecoder, JSONDecodeError and JSONEncoder.
This allows you to use sdjson as a drop-in replacement for the json
module.
.
This package installs the library for Python 3.