comect.sidecar.filters.json module¶
-
class
comect.sidecar.filters.json.
JSONFilter
¶ Bases:
comect.sidecar.filters.base.Filter
A filter that rejects lines that aren’t valid JSON.
If you are also parsing these lines, then it may be more efficient to just use the JSONParser and allow the exception to propagate.