We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc48280 commit 791db74Copy full SHA for 791db74
NppJSONViewer/json.c
@@ -1085,7 +1085,7 @@ json_format_string (const char *text)
1085
1086
case '[':
1087
indentation++;
1088
- rcs_catcs (output, "{\n", 2);
+ rcs_catcs (output, "[\n", 2);
1089
for (i = 0; i < indentation; i++)
1090
{
1091
rcs_catc (output, '\t');
@@ -1103,7 +1103,7 @@ json_format_string (const char *text)
1103
1104
1105
}
1106
- rcs_catc (output, '}');
+ rcs_catc (output, ']');
1107
pos++;
1108
break;
1109
0 commit comments