Module: EventStore::HTTP::Info::Response::Transformer::JSON

Defined in:
lib/event_store/http/info/response/transformer.rb

Class Method Summary collapse

Class Method Details

.read(json_text) ⇒ Object



19
20
21
22
# File 'lib/event_store/http/info/response/transformer.rb', line 19

def self.read(json_text)
  formatted_data = ::JSON.parse json_text, :symbolize_names => true
  Casing::Underscore.(formatted_data)
end