Skip to content

Commit

Permalink
insure object key order when converting to string
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdp committed Jun 11, 2024
1 parent a1035bd commit 091dff6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/src/source/CommonUtils.bs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ namespace rooibos.common
'bs:disable-next-line
isFirst = false
end if
for each key in input
keys = input.keys()
keys.sort()
for each key in keys
if rooibos.common.canSafelyIterateAAKey(input, key)
text = text + key + ":" + rooibos.common.asString(input[key], includeType)
end if
Expand Down

0 comments on commit 091dff6

Please sign in to comment.