Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Parsing broken for JSON containing object reuse by reference #99

Closed
xeolabs opened this Issue · 1 comment

1 participant

@xeolabs
Owner

http://stackoverflow.com/questions/6163982/reusing-json-object-nodes-with-scenejs?utm_source=twitterfeed&utm_medium=twitter

SceneJS is marking the node objects as visited in a map while it DFS traverses them. So in this case it's marking your "disk" node once as it parses it, then never parsing it again.

@xeolabs xeolabs was assigned
@xeolabs
Owner

Using UUID for traversal-distinct marking of JSON objects during stack-based iterative parsing, allows same JSON object to be embedded in multiple scene graphs:

2cc759e

@xeolabs xeolabs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.