Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json generate $ref, $id and $content automatically, how do skip this? #170

Open
pesseba opened this issue Jun 28, 2022 · 0 comments
Open

Comments

@pesseba
Copy link

pesseba commented Jun 28, 2022

Hi when I save my json runtime in Unity my json some king of objects has $id parameter generated and the content has a lot of objects with $ref = {the id} in sequence. The problem is that every time I save and restore the json from file, the objects with $ref is increasing geometrically... So my file goes from 95 Kb to 79 Mb. How to prevent this behaviour?

In code I found just found a mention of these parameters: This is an object reference in part of a cyclic graph. There is some kind of object that generate this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant