Araq/packedjson

`{}=` proc result is inconsistent with stdlib.json

Opened this issue · 0 comments

import packedjson
var cost = newJObject()
var rows = [["AWS","compute"],["AWS","network"],["Alibaba","compute"],["Alibaba","network"]]

for row in rows:
    cost{row[0],row[1]} = %(cost{row[0],row[1]}.getFloat + 1.0)
echo cost

change packedjson to json to see the expected result.