Implement PayloadJsonDecoder #309

Closed
rafrombrc opened this Issue Jul 3, 2013 · 1 comment

Projects

None yet

2 participants

@rafrombrc
Member

We have a JsonDecoder which parses JSON encoded messages that have come over the Heka protocol. We also need a decoder that allows users to define a mapping from arbitrary JSON to a message structure, however, just like the (poorly named) LoglineDecoder converts regex-parse-able text to a message structure.

The decoder should assume that it will be handed message objects with valid JSON in the payload, such as a message that might be generated by an HttpInput fetching JSON documents from a remote HTTP URL.

@rafrombrc
Member

JSONPath is probably worth considering as a mechanism for describing how the arbitrary JSON should be mapped to a message.

@crankycoder crankycoder was assigned Jul 10, 2013
This was referenced Jul 15, 2013
@rafrombrc rafrombrc closed this in #335 Jul 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment