serialization :: E :: ser_json
self
and prints with the standard JsonSerializer
# Test method that serializes `self` and prints with the standard JsonSerializer
fun ser_json
do
var w = new StringWriter
var js = new JsonSerializer(w)
js.plain_json = true
js.serialize(self)
print w
end
lib/serialization/examples/custom_serialization.nit:65,2--73,4