Replace use of simplejson
with built-in json
module
#5374
Labels
Milestone
simplejson
with built-in json
module
#5374
aiida-core
ships with theaiida.common.json
module which provides thedump
,dumps
,load
andloads
functions that have the same interface as thejson
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 usessimplejson
which is the externally maintained version ofjson
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.The text was updated successfully, but these errors were encountered: