def __init__(self, json_fields):
        """Create a processor that prettifies JSON strings in the event values

        :param json_fields: An iterable specifying the fields to prettify
        """
        self.fields = json_fields
        self.prettify = self.fast_prettify if fast_json_available else self.slow_prettify
def __init__ ( self , json_fields ) : self . fields = json_fields self . prettify = self . fast_prettify if fast_json_available else self . slow_prettify
Create a processor that prettifies JSON strings in the event values

        :param json_fields: An iterable specifying the fields to prettify