Contents:
distribution_to_json()
Serialize a distribution to JSON format.
dist (BaseDistribution) – A distribution to be serialized.
A JSON string of a given distribution.
str