Sha256: 65d61a89c4b70dbef9c246471d7cd3a5d42da42ce849cb1a962ee0c898012c2b

Contents?: true

Size: 359 Bytes

Versions: 23

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

23 entries across 23 versions & 1 rubygems

Version Path
dry-schema-1.10.6 lib/dry/schema/json.rb
dry-schema-1.10.5 lib/dry/schema/json.rb
dry-schema-1.10.4 lib/dry/schema/json.rb
dry-schema-1.10.3 lib/dry/schema/json.rb
dry-schema-1.10.2 lib/dry/schema/json.rb
dry-schema-1.10.1 lib/dry/schema/json.rb
dry-schema-1.9.3 lib/dry/schema/json.rb
dry-schema-1.9.2 lib/dry/schema/json.rb
dry-schema-1.9.1 lib/dry/schema/json.rb
dry-schema-1.9.0 lib/dry/schema/json.rb
dry-schema-1.8.0 lib/dry/schema/json.rb
dry-schema-1.7.1 lib/dry/schema/json.rb
dry-schema-1.7.0 lib/dry/schema/json.rb
dry-schema-1.6.2 lib/dry/schema/json.rb
dry-schema-1.6.1 lib/dry/schema/json.rb
dry-schema-1.6.0 lib/dry/schema/json.rb
dry-schema-1.5.6 lib/dry/schema/json.rb
dry-schema-1.5.5 lib/dry/schema/json.rb
dry-schema-1.5.4 lib/dry/schema/json.rb
dry-schema-1.5.3 lib/dry/schema/json.rb