remove json as a global

This commit is contained in:
2025-12-18 11:20:39 -06:00
parent 04a648a73e
commit aa18a8c8d2
16 changed files with 43 additions and 52 deletions

View File

@@ -23,8 +23,8 @@ function test_roundtrip(obj, name) {
var encoded = toml.encode(obj)
var decoded = toml.decode(encoded)
if (!deep_equal(obj, decoded)) {
log.console(name + " - Original:", json.encode(obj))
log.console(name + " - Round-trip:", json.encode(decoded))
log.console(name + " - Original:", obj)
log.console(name + " - Round-trip:", decoded)
throw name + " round-trip failed"
}
}