Skip to content

class Athena::Serializer::SerializationContext
inherits Athena::Serializer::Context #

The ASR::Context specific to serialization.

Allows specifying if nil values should be serialized.

Methods#

#direction : ASR::Context::Direction#

Returns which (de)serialization action self represents.

View source

#emit_nil=(emit_nil : Bool)#

If nil values should be serialized.

View source

#emit_nil? : Bool#

If nil values should be serialized.

View source