docstamp/model.py
def to_json_str(self):
        """Convert data to json string representation.

        Returns:
          json representation as string.
        """
        adict = dict(vars(self), sort_keys=True)
        adict['type'] = self.__class__.__name__
        return json.dumps(adict)
def to_json_str(self):
        adict = dict(vars(self), sort_keys=True)
        adict['type'] = self.__class__.__name__
        return json.dumps(adict)
def to_json_str ( self ) : adict = dict ( vars ( self ) , sort_keys = True ) adict [ 'type' ] = self . __class__ . __name__ return json . dumps ( adict )
Convert data to json string representation.

        Returns:
          json representation as string.
Convert data to json string representation .