Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify that json output is always recursively sorted #7

Closed
rfarley3 opened this issue Jul 17, 2016 · 1 comment
Closed

Verify that json output is always recursively sorted #7

rfarley3 opened this issue Jul 17, 2016 · 1 comment

Comments

@rfarley3
Copy link
Owner

rfarley3 commented Jul 17, 2016

This may already be done, but verify with some tests.

Goal is to facilitate git revisioning of dashboards. Also include sorting of the json.dumps data within some of the object types.

json.dumps(d, sort_keys=True)

@rfarley3
Copy link
Owner Author

rfarley3 commented Aug 5, 2016

The dumps function is using sort_keys, but the original list is out of order. Use sort with key on each document's _id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant