module

Amazonite::Core::ArrayConverter(T)

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.

Class methods

from_json(pull : JSON::PullParser) : Array(T)
Source
to_json(values : Array(T), json : JSON::Builder) : Nil
Source