pymatgen.serializers.json_coders module

json_pretty_dump(obj, filename)[source]

Serialize obj as a JSON formatted stream to the given filename ( pretty printing version)

pmg_serialize(method)[source]

Decorator for methods that add MSON serializations keys to the dictionary. See documentation of MSON for more details