write_json

gammapy.image.models.write_json(pars, filename)[source]

Write to JSON file.