Пакет: python3-sdjson (0.5.0-1)
Връзки за python3-sdjson
Ресурси за Debian:
- Доклади за грешки
- Developer Information
- Журнал на промените в Debian
- Авторски права
- Управление на кръпките в Debian
Изтегляне на пакет-източник python-sdjson.
Отговорници:
Външни препратки:
- Начална страница [github.com]
Подобни пакети:
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.
Други пакети, свързани с python3-sdjson
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-domdf-python-tools
- Helpful functions for Python
-
- dep: python3-typing-extensions
- Backported and Experimental Type Hints for Python
Изтегляне на python3-sdjson
Архитектура | Големина на пакета | Големина след инсталиране | Файлове |
---|---|---|---|
all | 17,2 кБ | 70,0 кБ | [списък на файловете] |