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

Replace use of simplejson with built-in json module #5374

Closed
sphuber opened this issue Feb 22, 2022 · 1 comment · Fixed by #5391
Closed

Replace use of simplejson with built-in json module #5374

sphuber opened this issue Feb 22, 2022 · 1 comment · Fixed by #5391

Comments

@sphuber
Copy link
Contributor

sphuber commented Feb 22, 2022

aiida-core ships with the aiida.common.json module which provides the dump, dumps, load and loads functions that have the same interface as the json module of the standard library. These custom wrappers are used internally by AiiDA to serialize and deserialize JSON before it is written to files in the repository or in the database. For the implementation it uses simplejson which is the externally maintained version of json to provide backwards compatibility of old Python versions. Since we no longer support those Python versions, it would be good to investigate if we can remove these custom wrappers and libraries and simply rely on the standard library.

@soma2000-lang
Copy link

@sphuber can i work on this

@sphuber sphuber added this to the v2.0.0 milestone Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants