Sha256: b9e5ac99ecc517628ff977baed6d542905d40df0089e182944fdb694367ce479

Contents?: true

Size: 359 Bytes

Versions: 10

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

require 'dry/schema/processor'

module Dry
  module Schema
    # JSON schema type
    #
    # @see Processor
    # @see Schema#JSON
    #
    # @api public
    class JSON < Processor
      config.key_map_type = :stringified
      config.type_registry_namespace = :json
      config.filter_empty_string = false
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dry-schema-1.4.3 lib/dry/schema/json.rb
dry-schema-1.4.2 lib/dry/schema/json.rb
dry-schema-1.4.1 lib/dry/schema/json.rb
dry-schema-1.4.0 lib/dry/schema/json.rb
dry-schema-1.3.4 lib/dry/schema/json.rb
dry-schema-1.3.3 lib/dry/schema/json.rb
dry-schema-1.3.2 lib/dry/schema/json.rb
dry-schema-1.3.1 lib/dry/schema/json.rb
dry-schema-1.3.0 lib/dry/schema/json.rb
dry-schema-1.2.0 lib/dry/schema/json.rb