xgoprev/tests/sjson.xgo

13 lines
176 B
Text

sjson := import("sjson")
fmt := import("fmt")
fmt.println(sjson.__check())
dec := sjson.new_decoder("<stdin>")
for {
v := dec.decode()
if !v {
break
}
fmt.println(v)
}