Module: JSONSchemer::ContentMediaType

Defined in:
lib/json_schemer/content.rb

Constant Summary collapse

JSON =
proc do |instance|
  [true, ::JSON.parse(instance)]
rescue
  [false, nil]
end