module json_serialization
import serialization
-import simple_json_reader
+import json::static
class JsonSerializer
super Serializer
var just_opened_id: nullable Int = null
- init(text: String)
+ init(text: Text)
do
var root = text.json_to_nit_object
if root isa HashMap[String, nullable Object] then path.add(root)
return val.chars.first
end
- print "Malformed Json string: unexpected Json Object kind '{kind}'"
+ print "Malformed Json string: unexpected Json Object kind '{kind or else "null"}'"
abort
end