(self, update={})
return json.dumps(data)
Get the plugin data and returns it in a JSON dumped format.

        :param dict update:
        :return string: JSON dumped string of the cloned plugin data.
Get the plugin data and returns it in a JSON dumped format.
Get the plugin data and returns it in a JSON dumped format .
def get_updated_plugin_data(self, update={}):
        """Get the plugin data and returns it in a JSON dumped format.

        :param dict update:
        :return string: JSON dumped string of the cloned plugin data.
        """
        form = self.get_form()
        data = {}

        for field, default_value in form.plugin_data_fields:
            data.update({field: getattr(self.data, field, '')})

        for prop, value in update.items():
            data.update({prop: value})

        return json.dumps(data)
def get_updated_plugin_data ( self , update = { } ) : form = self . get_form ( ) data = { } for field , default_value in form . plugin_data_fields : data . update ( { field : getattr ( self . data , field , '' ) } ) for prop , value in update . items ( ) : data . update ( { prop : value } ) return json . dumps ( data )