Skip to main content

Serialize python standard types (tuple, bytes, dict with number keys, byte keys or tuple keys, and etc) with json

Project description

lambdaJSON lets you serialize python standard library objects with <json>. Typical usage:

#!/usr/bin/env python

import lambdaJSON

mySerialisedObject = lambdaJSON.serialize({(1,2,3):{b'lambda':[b'json',1,3]}, 45: 'test'})
myDeserialisedObject = lambdaJSON.deserialize(mySerialisedObject)

Currently Supported Types

This types are covered in this version:

  1. Bytes

  2. Tuples

  3. Dicts (With Number, Tuple, String and Byte keys)

  4. other json supported types

Github project page: https://github.com/pooya-eghbali/lambdaJSON Contact Mail: persian.writer@gmail.com

Mail me or use github to post issues and bugs…

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lambdaJSON-0.1.0.zip (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page