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

JsonDocument: editing the document won't update the internal json representation #226

Open
narnaud opened this issue Nov 29, 2024 · 1 comment
Labels
🪲 bug Something isn't working

Comments

@narnaud
Copy link
Member

narnaud commented Nov 29, 2024

Editing the document in Knut's text view won't update the m_jsonData.
These changes therefore won't be reflected in the value/hasValue calls. setValue will also override any changes to the document that weren't saved.

@narnaud narnaud added the 🪲 bug Something isn't working label Nov 29, 2024
@narnaud
Copy link
Member Author

narnaud commented Nov 29, 2024

One possible workaround would be to save everytime you use JsonDocument API, but I'm not sure that's the best way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant