fortifyapi/fortify.py
def data_json(self, pretty=False):
        """Returns the data as a valid JSON string."""
        if pretty:
            return json.dumps(self.data, sort_keys=True, indent=4, separators=(',', ': '))
        else:
            return json.dumps(self.data)
Returns the data as a valid JSON string.
Returns the data as a valid JSON string.
Returns the data as a valid JSON string .
def data_json(self, pretty=False):
        if pretty:
            return json.dumps(self.data, sort_keys=True, indent=4, separators=(',', ': '))
        else:
            return json.dumps(self.data)
def data_json ( self , pretty = False ) : if pretty : return json . dumps ( self . data , sort_keys = True , indent = 4 , separators = ( ',' , ': ' ) ) else : return json . dumps ( self . data )
Returns the data as a valid JSON string.
Returns the data as a valid JSON string .
"""Returns the data as a valid JSON string."""
self
pretty