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

Is there a way to esacpe special chars #739

Closed
rudvfaden opened this issue Jul 21, 2022 · 3 comments
Closed

Is there a way to esacpe special chars #739

rudvfaden opened this issue Jul 21, 2022 · 3 comments

Comments

@rudvfaden
Copy link
Contributor

I have some data that contains a new line chars , carriage returns and parentheses. Is there a way to escape them so the json is valid?

blablabla. \r\n bla bla (som info)

I would like something like
blablabla. \\r\\n bla bla \(som info\)

@allanbowe
Copy link
Member

Hi Rud - this should happen automatically. Can you give an example of what you are trying to achieve? Are you talking about preparing a properly escaped input JSON data object?

@rudvfaden
Copy link
Contributor Author

My mistake. Turned out I had a substitute char 1A in my data.

@allanbowe
Copy link
Member

Ok! Will close the issue then :-)

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

2 participants