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

Provide option to avoid quoting values while dumping data #87

Open
deeparora29 opened this issue Nov 28, 2019 · 1 comment
Open

Provide option to avoid quoting values while dumping data #87

deeparora29 opened this issue Nov 28, 2019 · 1 comment
Labels
question Further information is requested

Comments

@deeparora29
Copy link

deeparora29 commented Nov 28, 2019

Is there a way we can provide option to avoid this quoting string values while dumping strings when they have special characters?

def _dump_dict():
..........
if val.isalnum():
text += '%s%s %s\n' % (spacing, key, val)
else:
text += '%s%s "%s"\n' % (spacing, key, val)

@etingof
Copy link
Owner

etingof commented Dec 12, 2019

@sydneyli Would you please take a look...? ;-)

@etingof etingof added the question Further information is requested label Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants