module
Amazonite::Core::ArrayConverter(T)
Overview
JSON::Serializable converter for an Array(T) whose element type T
needs its own converter (e.g. a list of enum-backed or blob members) -
delegates each element to T.to_json/T.from_json rather than relying
on Array's own default JSON mapping.
Defined in:
core/converters.crClass Method Summary
- .from_json(pull : JSON::PullParser) : Array(T)
- .to_json(values : Array(T), json : JSON::Builder) : Nil