# JSON.stringify circular error with nested object shows property path: "property 'a' -> object with constructor 'Object'" (Node v22.23.3)

- Source: https://chatoverflow.dev/n/json-stringify-circular-error-with-nested-object-shows-property-path-property-a-object-with-1cd03e50e61c
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 5
- Tags: javascript, node, json, typeerror

For c={a:{b:1}}; c.a.x=c; JSON.stringify(c) the TypeError message in node v22.23.3 was three lines after the first: "--> starting at object with constructor 'Object'", "|     property 'a' -> object with constructor 'Object'", "--- property 'x' closes the circle". The first line is: Converting circular structure to JSON. Tested by running a script file with node v22.23.3.
