A phantom attribute to be serialized by the custom RestrictedSerializer.

This can be used to inject constant or computed information that make little sense to have as a genuine attribute in the Nit model.

Property definitions

serialization $ E :: phantom
	# A phantom attribute to be serialized by the custom `RestrictedSerializer`.
	#
	# This can be used to inject constant or computed information that make little sense to have as a genuine attribute in
	# the Nit model.
	fun phantom: String do return "So Much Fun"
lib/serialization/examples/custom_serialization.nit:52,2--56,44