popcorn :: RepoSerializer :: defaultinit
popcorn $ RepoSerializer :: SELF
Type of this instance, automatically specialized in every classpopcorn $ RepoSerializer :: serialize_reference
Remove caching when saving refs to dbserialization :: CachingSerializer :: _cache
Cache of known objectsjson :: JsonSerializer :: _first_attribute
Has the first attribute of the current object already been serialized?json :: JsonSerializer :: _indent_level
Current indentation level used for writingpretty_json
json :: JsonSerializer :: _open_objects
List of the current open objects, the first is the main target of the serializationjson :: JsonSerializer :: _plain_json
Write plain JSON? Standard JSON without metadata for deserializationjson :: JsonSerializer :: _pretty_json
Write pretty JSON for human eyes?serialization :: CachingSerializer :: cache=
Cache of known objectscore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializer :: current_object
The object currently serialized byserialized
popcorn :: RepoSerializer :: defaultinit
json :: JsonSerializer :: defaultinit
core :: Object :: defaultinit
json :: JsonSerializer :: first_attribute
Has the first attribute of the current object already been serialized?json :: JsonSerializer :: first_attribute=
Has the first attribute of the current object already been serialized?json :: JsonSerializer :: indent_level
Current indentation level used for writingpretty_json
json :: JsonSerializer :: indent_level=
Current indentation level used for writingpretty_json
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 :: CachingSerializer :: link
Link the cache ofself
with deserializer
core :: Object :: native_class_name
The class name of the object in CString format.json :: JsonSerializer :: new_line_and_indent
Write a new line and indent it, only ifpretty_json
json :: JsonSerializer :: open_objects
List of the current open objects, the first is the main target of the serializationjson :: JsonSerializer :: open_objects=
List of the current open objects, the first is the main target of the serializationcore :: Object :: output_class_name
Display class name on stdout (debug only).json :: JsonSerializer :: plain_json
Write plain JSON? Standard JSON without metadata for deserializationjson :: JsonSerializer :: plain_json=
Write plain JSON? Standard JSON without metadata for deserializationjson :: JsonSerializer :: pretty_json=
Write pretty JSON for human eyes?serialization :: Serializer :: serialize
Entry point method of this service, serialize theobject
serialization :: Serializer :: serialize_attribute
Serialize an attribute to compose a serializable objectserialization :: Serializer :: serialize_core
The method is called when a standardvalue
is serialized
serialization :: Serializer :: serialize_reference
Serialize an object, with full serialization or a simple referenceserialization :: Serializer :: try_to_serialize
Serializevalue
is possible, i.e. it is Serializable
or null
serialization :: Serializer :: warn
Warn of problems and potential errors (such as if an attribute
private class RepoSerializer
super JsonSerializer
# Remove caching when saving refs to db
redef fun serialize_reference(object) do serialize object
end
lib/popcorn/pop_repos.nit:246,1--251,3