Skip to content

Handling already escaped quotes \" with "Force init Default Value With Origin Json Value" checked #301

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

Closed
ildar2 opened this issue Jul 13, 2020 · 0 comments
Assignees
Labels
bug L1 Difficulty level 1 (Maximum is 9)
Milestone

Comments

@ildar2
Copy link

ildar2 commented Jul 13, 2020

Hi, love your plugin! It really saves a lot of time

There is one thing though:

when i parse string with escaped quotes:
"key": "value with \"quote\""
it parses with an error:
val key: String = "value with "quote""
result should look like this:
val key: String = "value with \"quote\""

Thankfully there are not many strings like that per class - about ten - and I can fix them by hand, but I would like it fixed someday (priority is super low)

cheers and thank you again!

hanshengjian pushed a commit to hanshengjian/JsonToKotlinClass that referenced this issue Jul 14, 2020
@wuseal wuseal mentioned this issue Jul 14, 2020
@wuseal wuseal added bug L1 Difficulty level 1 (Maximum is 9) labels Jul 14, 2020
@wuseal wuseal added this to the 3.7.0 milestone Jul 14, 2020
hanshengjian pushed a commit to hanshengjian/JsonToKotlinClass that referenced this issue Jul 14, 2020
hanshengjian pushed a commit to hanshengjian/JsonToKotlinClass that referenced this issue Jul 14, 2020
wuseal added a commit that referenced this issue Jul 14, 2020
@wuseal wuseal closed this as completed in 13e3e8e May 18, 2021
wuseal pushed a commit that referenced this issue Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug L1 Difficulty level 1 (Maximum is 9)
Projects
None yet
Development

No branches or pull requests

3 participants