(self)
return json.dumps(self.to_dict(), indent=2, sort_keys=True) + "\n"
Serializes this instance to a JSON string.
Serializes this instance to a JSON string.
Serializes this instance to a JSON string .
def to_json_string(self):
    """Serializes this instance to a JSON string."""
    return json.dumps(self.to_dict(), indent=2, sort_keys=True) + "\n"
def to_json_string ( self ) : return json . dumps ( self . to_dict ( ) , indent = 2 , sort_keys = True ) + "\n"