class LHC::Formats::JSON

def parse(input, object_class)

def parse(input, object_class)
  ::JSON.parse(input, object_class: object_class)
rescue ::JSON::ParserError => e
  raise LHC::ParserError.new(e.message, input)
end