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

Quotes in text field generate JSON Exception #191

Open
DubbaThony opened this issue May 28, 2022 · 0 comments · May be fixed by #192
Open

Quotes in text field generate JSON Exception #191

DubbaThony opened this issue May 28, 2022 · 0 comments · May be fixed by #192

Comments

@DubbaThony
Copy link

It looks like Lazarus has an issue with JSON encoding. For example if field contains exacly string [""], and its read, it gives an error:

=> Sent: {"id":100,"method":"callObjectMethod","params":[3,"lines.getAll",[]],"callback":null}
JSON ERROR: {"id": 100, "result": "[""]"}

The quotes weren't escaped to proper json.

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

Successfully merging a pull request may close this issue.

1 participant