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

[feature request] serializeToJson(Pretty) with key sorted #8

Open
mw66 opened this issue Aug 31, 2020 · 4 comments
Open

[feature request] serializeToJson(Pretty) with key sorted #8

mw66 opened this issue Aug 31, 2020 · 4 comments

Comments

@mw66
Copy link

mw66 commented Aug 31, 2020

Hi,

I think we need add this functionality to easily compare changed json files of different versions, or at least add the option to allow user sort the dict by keys, and save it.

e.g. in Python:

https://docs.python.org/3/library/json.html

>>> print(json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True))
{"a": 0, "b": 0, "c": 0}
@mw66 mw66 changed the title serializeToJson(Pretty) with key sorted [feature request] serializeToJson(Pretty) with key sorted Sep 17, 2020
@mw66
Copy link
Author

mw66 commented Sep 17, 2020

@9il I saw you are making new releases, how about this feature request?

@9il
Copy link
Member

9il commented Sep 17, 2020

Unlikely this feature will be added to ASDF. The goal of current releases is to prepare closed source code bases for Mir Ion.

@mw66
Copy link
Author

mw66 commented Sep 17, 2020

Wow, so v0.6.x will be the last open source package?

For such general purpose library, I don't quite understand why it need to be closed source? As open source library, more people will use it, discover bugs, and even send fix PRs.

@9il
Copy link
Member

9il commented Sep 18, 2020

Wow, so v0.6.x will be the last open source package?

Will be at least v0.7.x

For such general purpose library, I don't quite understand why it need to be closed source? As open source library, more people will use it, discover bugs, and even send fix PRs.

Mir Ion is an open-source library. Currently preparing private codebase to migrate from ASDF to Mir Ion.

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

2 participants