Module: LogStash::Event::ClassMethods

Defined in:
lib/logstash/event.rb

Overview

def included

Instance Method Summary collapse

Instance Method Details

#from_json(json) ⇒ Object


68
69
70
# File 'lib/logstash/event.rb', line 68

def from_json(json)
  return self.new(JSON.parse(json))
end