[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1056005: ITP: python-singledispatch-json -- custom JSON encoder for Python



Package: wnpp
Severity: wishlist
Owner: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, nilsonfsilva@hotmail.com

* Package name    : python-singledispatch-json
  Version         : 0.4.0
  Upstream Contact: Davis-Foster <dominic@davis-foster.co.uk>
* URL             : https://github.com/domdfcoding/singledispatch-json
* License         : Expat
  Programming Lang: Python
  Description     : custom 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.dumps
 (class_instance, fp).
 .
 The sdjson project also supports several features of the json module,
 including load, load, JSONDecoder, JSONDecodeError and JSONEncoder.
 This allows you to use sdjson as a drop-in replacement for the json
 module.

 Note: Module required for the package
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028151


Reply to: