nitc :: CmdMessage :: to_json
self
# Return a JSON Serializable representation of `self`
fun to_json: nullable Serializable do
var obj = new JsonObject
obj["status"] = class_name
obj["message"] = to_s
return obj
end
src/doc/templates/json_commands.nit:35,2--41,4