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

Support backticks in property values #20

Open
cyberbiont opened this issue May 14, 2020 · 2 comments
Open

Support backticks in property values #20

cyberbiont opened this issue May 14, 2020 · 2 comments

Comments

@cyberbiont
Copy link

cyberbiont commented May 14, 2020

Currently jsonic converts `string` to "`string`"

@rjrodger
Copy link
Collaborator

some example code would actually be useful here - thanks

@cyberbiont
Copy link
Author

Take the following JS:

{
    a: `b`,
}

copy it to JSON file

Run it through Jsonic
you'll get

{
  "a": "`b`"
}

instead of

{
  "a": "b"
}

Backticks should be stripped out

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

No branches or pull requests

2 participants