Sha256: aa15c7726f40563dceeca12bb55479f6c14fa9a08bcd208a893229f1c05eefe6
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
require 'json' module Vedeu class JSONParser def self.parse(output) new(output).parse end def initialize(output) @output = output end def parse JSON.load(output, nil, symbolize_names: true) rescue JSON::ParserError {} end private attr_reader :output end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.1.1 | lib/vedeu/parsing/json_parser.rb |