Graylog2 / graylog-plugin-pipeline-processor

[DEPRECATED] Graylog Pipeline Message Processor Plugins
https://www.graylog.org/
GNU General Public License v3.0
21 stars 15 forks source link

parse_json() returns MissingNode if input wasn't valid JSON #210

Closed joschi closed 7 years ago

joschi commented 7 years ago

The parse_json() function is supposed to return a JsonNode but returned null if the input wasn't valid JSON.

This change set changes the return type to MissingNode if the input wasn't valid and couldn't be parsed.

Closes #209