mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
use to_json properly
This commit is contained in:
parent
1e0a1b958b
commit
6aae816902
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class LogStash::Event
|
|||
def fields; return @data["@fields"] end # def fields
|
||||
|
||||
public
|
||||
def to_json; return @data.to_json end # def to_json
|
||||
def to_json(*args); return @data.to_json(*args) end # def to_json
|
||||
def to_hash; return @data end # def to_hash
|
||||
|
||||
public
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue