duo-labs/cloudmapper

Make function to dump json

Open

#527 opened on Aug 15, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (5,670 stars) (789 forks)batch import
enhancementgood first issue

Description

I have a lot of calls to json.dumps. This can have exceptions when you serialize data, and sometimes I forget to sort the keys. I should have a generic function that I can call for this purpose.

See how to use a serializer here: https://github.com/duo-labs/cloudmapper/blob/1015ea8ddef327d29333458ef5f1599f1321ad84/commands/collect.py#L180

Contributor guide