Skip to content

Commit

Permalink
fix: optimize performance
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuergen committed Sep 8, 2022
1 parent f944245 commit c666399
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Elements/AbstractJsonElement.st
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ NAMESPACE Simatic.Ax.Json
VAR_TEMP
_i : DINT;
END_VAR
FOR _i := 1 TO LengthOf(valueAsString) DO
doc^.AddChar(valueAsString[_i]);
END_FOR;
doc^.AddString(valueAsString);
END_METHOD

METHOD PUBLIC HasNext : BOOL
Expand Down

0 comments on commit c666399

Please sign in to comment.