struct Athena::Framework::Serializer::ComponentSerializer
inherits Struct
#
Implements ATH::Serializer::Interface with the Serializer component.
The framework uses it if the Serializer bundle is registered.
Types that include JSON::Serializable, but not ASR::Serializable, are (de)serialized via JSON::Serializable instead.
Included modules
Athena::Framework::Serializer::Interface
Constructors#
Methods#
#deserialize(data : IO, type : _, format : String) : Nil#
Returns an instance of type deserialized from the provided data in the provided format, or nil if type is not supported.
#serialize(data : T, format : String, context : ATH::View::Context) : String forall T#
:inherit: