Deserializer
with a cache
serialization :: CachingDeserializer :: cache=
Cache of known objectsserialization $ CachingDeserializer :: SELF
Type of this instance, automatically specialized in every classserialization :: Serializable :: accept_json_serializer
Refinable service to customize the serialization of this class to JSONserialization :: Serializable :: accept_msgpack_attribute_counter
Hook to customize the behavior of theAttributeCounter
serialization :: Serializable :: accept_msgpack_serializer
Hook to customize the serialization of this class to MessagePackserialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
serialization :: CachingDeserializer :: cache=
Cache of known objectscore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
core :: Object :: defaultinit
serialization :: Deserializer :: deserialize
Deserialize and return an object, storing errors in the attributeerrors
serialization :: Deserializer :: deserialize_attribute
Deserialize the attribute withname
from the object open for deserialization
serialization :: Deserializer :: deserialize_attribute_missing
Was the attribute queried by the last call todeserialize_attribute
missing?
serialization :: Deserializer :: deserialize_attribute_missing=
Was the attribute queried by the last call todeserialize_attribute
missing?
serialization :: Deserializer :: deserialize_class
Deserialize the next available object as an instance ofclass_name
serialization :: Deserializer :: deserialize_class_intern
Generated service to deserialize the next available object as an instance ofclass_name
serialization :: Deserializer :: errors
Errors encountered in the last call todeserialize
serialization :: Deserializer :: errors=
Errors encountered in the last call todeserialize
serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
serialization :: Deserializer :: keep_going
Shouldself
keep trying to deserialize an object after an error?
serialization :: Deserializer :: keep_going=
Shouldself
keep trying to deserialize an object after an error?
serialization :: Serializable :: msgpack_extra_array_items
Hook to request a larger than usual metadata arrayserialization :: Deserializer :: notify_of_creation
Register a newly allocated object (even if not completely built)core :: Object :: output_class_name
Display class name on stdout (debug only).serialization :: Serializable :: serialize_msgpack
Serializeself
to MessagePack bytes
serialization :: Serializable :: serialize_to
Serializeself
to serializer
serialization :: Serializable :: serialize_to_json
Serializeself
to JSON
serialization :: Serializable :: to_pretty_json
Serializeself
to plain pretty JSON
Serializer::serialize
msgpack :: MsgPackDeserializer
Deserialize MessagePack format to full Nit objects
# A `Deserializer` with a `cache`
abstract class CachingDeserializer
super Deserializer
# Cache of known objects
var cache = new DeserializerCache is lazy, writable
end
lib/serialization/caching.nit:44,1--50,3