module Tarot::Schema::UniversalConverter(T)

Overview

This converter will convert any structure which can be converted to T.

Basically, it will unfold Union, generics parameters inside Hash or Array. It will deals with Schema and Numeric type too.

This module should not be used directly; it's part of the way Tarot's schema works.

Defined in:

tarot/schema/converters.cr

Class Method Summary

Class Method Detail

def self.from_json(json : JSON::Any | Nil, hint = nil, coercive = false) : T #

[View source]