Revert gojson changes
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m34s

This commit is contained in:
2026-04-26 14:29:28 +02:00
parent d30e778bd4
commit 18c172d69a
6 changed files with 53 additions and 35 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ func appendCompact(dst, src []byte, escape bool) ([]byte, error) {
func appendNewline(dst []byte, prefix, indent string, depth int) []byte {
dst = append(dst, '\n')
dst = append(dst, prefix...)
for range depth {
for i := 0; i < depth; i++ {
dst = append(dst, indent...)
}
return dst