Sha256: 71a6a3e4b4b60cdfd90e8a4872ec40835abc68b4a25fa4f3ddb8f8bd530e8368

Contents?: true

Size: 210 Bytes

Versions: 21

Compression:

Stored size: 210 Bytes

Contents

# frozen_string_literal: true
module Dato
  module Local
    module FieldType
      class Json
        def self.parse(value, _repo)
          value && JSON.parse(value)
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
dato-0.6.9 lib/dato/local/field_type/json.rb
dato-0.6.8 lib/dato/local/field_type/json.rb
dato-0.6.7 lib/dato/local/field_type/json.rb
dato-0.6.6 lib/dato/local/field_type/json.rb
dato-0.6.5 lib/dato/local/field_type/json.rb
dato-0.6.3 lib/dato/local/field_type/json.rb
dato-0.6.3.beta lib/dato/local/field_type/json.rb
dato-0.6.2 lib/dato/local/field_type/json.rb
dato-0.6.1 lib/dato/local/field_type/json.rb
dato-0.6.0 lib/dato/local/field_type/json.rb
dato-0.5.1 lib/dato/local/field_type/json.rb
dato-0.5.0 lib/dato/local/field_type/json.rb
dato-0.4.3 lib/dato/local/field_type/json.rb
dato-0.4.2 lib/dato/local/field_type/json.rb
dato-0.4.1 lib/dato/local/field_type/json.rb
dato-0.4.0 lib/dato/local/field_type/json.rb
dato-0.3.31 lib/dato/local/field_type/json.rb
dato-0.4.0.pre lib/dato/local/field_type/json.rb
dato-0.3.30 lib/dato/local/field_type/json.rb
dato-0.3.29 lib/dato/local/field_type/json.rb