plasmapy.particles.serialization

Functionality for JSON deserialization of particle objects.

Classes

ParticleJSONDecoder(*[, object_hook])

A custom JSONDecoder class to deserialize JSON objects into the appropriate particle objects.

Inheritance diagram of plasmapy.particles.serialization.ParticleJSONDecoder

Functions

json_load_particle(fp, *[, cls])

Deserialize a JSON document into the appropriate particle object.

json_loads_particle(s, *[, cls])

Deserialize a JSON string into the appropriate particle object.