Skip to content

Commit 5aa80a3

Browse files
authored
Fix regression
fixes #141 close #141
1 parent 0a016c3 commit 5aa80a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NppJSONViewer/NppJsonViewer/RapidJsonHandler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ bool RapidJsonHandler::String(const Ch* str, unsigned /*length*/, bool /*copy*/)
101101
}
102102
else
103103
{
104+
parent->node.key = std::to_string(parent->counter);
105+
parent->node.value = str;
104106
parent->counter++;
105107
}
106108

0 commit comments

Comments
 (0)