class Fuel::Util::GerritJsonParser

Constants

XSSI_PREFIX

Public Instance Methods

json() click to toggle source
# File lib/fuel/util/json_parser.rb, line 9
def json
  body.sub!(XSSI_PREFIX, "") if body.start_with?(XSSI_PREFIX)
  JSON.load(body, nil)
end