module
Velvet::Output
Defined in:
velvet/output.crClass Method Summary
-
.coerce(field_id : String, value : String, cast : Cast) : JSON::Any
Coerce a raw string value to the correct JSON type based on cast
- .emit(result : Hash(String, JSON::Any))
- .validate!(value : JSON::Any, field : InputField)
Class Method Detail
Coerce a raw string value to the correct JSON type based on cast