ibmruntimes / yieldable-json

Asynchronous JSON parser and stringify APIs that make use of generator patterns
Other
145 stars 22 forks source link

src: fix circular structure detection #17

Closed yathamravali closed 4 years ago

yathamravali commented 5 years ago

Variable flag is not needed as circular detection case is handled when the value is already present in objStack. Fixed removing flag variable and condition checking flag value.

gireeshpunathil commented 4 years ago

@yathamravali - this needs a rebase

gireeshpunathil commented 4 years ago

landed in de7401bf5fba8d238f7d482ea920e226119da1b0