gun
gun copied to clipboard
DAM JSON parse error SyntaxError: JSON Parse error: Unexpected identifier "object"
what is problem
my send data example
{table: "company", event: "delete", data: 6, uuid: "2D1913B7-6121-4D4C-8186-1B51790C0B6A", devices: {2D1913B7-6121-4D4C-8186-1B51790C0B6A: false, 2D1913B7-6121-4D4C-8186-1B51790C0678: false}}
@gurselk oo.00 thank you for reporting this!! (sorry I guess github doesn't email me anymore)
I did just get the new version of GUN published (official public launch in the morning, tho already on NPM now) that has several parsing/stringify test improvements (tho this should not have mattered in the browser).
I took your example data, and ran it thru parse/stringify in both JSON and YSON with current version and not getting any errors. So hopefully this means it is fixed if you upgrade to latest. Will you confirm? (and if so, close? Thanks!)