JsonSerializationMixin

class lsst.validate.drp.base.JsonSerializationMixin[source]

Bases: object

Mixin that provides serialization support

Attributes Summary

json a dict that can be serialized as semantic SQuaSH json.

Methods Summary

jsonify_dict(d) Recursively render JSON on all values in a dict.
jsonify_list(lst)
write_json(filepath) Write JSON to filepath on disk.

Attributes Documentation

json

a dict that can be serialized as semantic SQuaSH json.

Methods Documentation

static jsonify_dict(d)[source]

Recursively render JSON on all values in a dict.

static jsonify_list(lst)[source]
write_json(filepath)[source]

Write JSON to filepath on disk.