Sha256: e9ade647661877ecd3b381fbd5b737dbbe45eaad087ad0beb955a87914e81e06

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 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 = config.type_registry.namespaced(:json)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dry-schema-1.0.3 lib/dry/schema/json.rb
dry-schema-1.0.2 lib/dry/schema/json.rb
dry-schema-1.0.1 lib/dry/schema/json.rb
dry-schema-1.0.0 lib/dry/schema/json.rb