Sha256: 8e147f56749c4f2a2546efe58d0cdbbda90292e2769677ab7078bdd4f5385800
Contents?: true
Size: 325 Bytes
Versions: 31
Compression:
Stored size: 325 Bytes
Contents
module Krikri ## # A parser for JSON records # @see Krikri::Parser class JsonParser < Krikri::Parser def initialize(record) @root = Value.new(JSON.parse(record.content)) super end class Value < Krikri::Parser::Value def initialize(json) @json = json end end end end
Version data entries
31 entries across 31 versions & 1 rubygems