plasmapy.particles.serialization

Functionality for JSON deserialization of PlasmaPy particles.

Functions

json_load_particle(fp, *[, cls]) A convenient form of json.load to deserialize a JSON document into a PlasmaPy particle object.
json_loads_particle(s, *[, cls]) A convenient form of json.loads to deserialize a JSON string into a PlasmaPy particle object.

Classes

ParticleJSONDecoder(*[, object_hook]) A custom JSONDecoder class to deserialize JSON objects into PlasmaPy particle objects.

Class Inheritance Diagram

Inheritance diagram of plasmapy.particles.serialization.ParticleJSONDecoder