class Amber::Schema::Parser::Transform

Overview

Transformation parser that applies custom transformations

Defined in:

amber/schema/parser.cr

Constructors

Instance Method Summary

Instance methods inherited from class Amber::Schema::Parser::Base

can_parse?(value : JSON::Any) : Bool can_parse?, parse(value : JSON::Any) : JSON::Any parse

Constructor Detail

def self.new(&block : JSON::Any -> JSON::Any) #

[View source]

Instance Method Detail

def can_parse?(value : JSON::Any) : Bool #

[View source]
def parse(value : JSON::Any) : JSON::Any #

[View source]