Skip to content
This repository was archived by the owner on Aug 17, 2024. It is now read-only.

Path Strings/Strings contains a backslash (\) that is serialized and opened in i.e. VS Code is mistaken to be escape sequences #12

Open
RogueMacro opened this issue Aug 26, 2020 · 4 comments

Comments

@RogueMacro
Copy link

No description provided.

@Jonathan-Racaud
Copy link
Collaborator

I don't understand the issue. Can you provide an example as well ?

@RogueMacro
Copy link
Author

It serializes my object into this: {"RecentProjects":["C:\dev\Beef\Steel\Examples\EditorDemo"]}. It should be double backslashes.

@Jonathan-Racaud
Copy link
Collaborator

Jonathan-Racaud commented Aug 27, 2020

Oh okay I see. Will look into it.. Actually that should not be the JSON_Beef's role to do that. It should be on your end that the string is formatted well in your object before serializing it. Or is it actually well formatted before the serialization and after it is as you show ?

@RogueMacro
Copy link
Author

Ok, I will make sure it is then 👍

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

No branches or pull requests

2 participants