Json
CySimd Json Parser
- class CySimdJsonParser(app, pipeline, id=None, config=None)[source]
Bases:
ProcessorFast JSON parser. Expects json bytes represented as bytes as input Based on https://github.com/TeskaLabs/cysimdjson
CySimd Json Parser Method
Std Dict To Json Parser
- class StdDictToJsonParser(app, pipeline, id=None, config=None)[source]
Bases:
ProcessorDescription:
Std Dict To Json Parser Method
Std Json To Dict Parser
- class StdJsonToDictParser(app, pipeline, id=None, config=None)[source]
Bases:
ProcessorDescription:
Std Json To Dict Parser Method
Dict To JsonBytes Parser
- class DictToJsonBytesParser(app, pipeline, id=None, config=None)[source]
Bases:
ProcessorDictToJsonBytesParser transforms a dictionary to JSON-string encoded in bytes. The encoding charset can be specified in the configuration in encoding field.
Dict To Json Bytes Parser Method
- DictToJsonBytesParser.process(context, event)[source]
Can be implemented to return event based on a given logic.
Parameters
- context :
Additional information passed to the method.
- eventData with time stamp stored in any data type, usually it is in JSON.
You can specify an event that is passed to the method.