Commit beccbd7
committed
fix: add first-line indentation for array elements in PrintPrettyJSONSlice
json.Indent only adds the prefix after newlines, not before the first
character. This adds the 2-space indent before writing each element to
ensure proper JSON array formatting.1 parent 6683757 commit beccbd7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
0 commit comments