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

How to handle empty strings "" ? #2

Open
mgirlich opened this issue Jan 24, 2020 · 2 comments
Open

How to handle empty strings "" ? #2

mgirlich opened this issue Jan 24, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@mgirlich
Copy link
Owner

mgirlich commented Jan 24, 2020

Are there scenarios when one might encounter empty strings "" when dealing with JSON?
If yes, then how should they be handled? Currently, functions error as is seen as invalid JSON but maybe there are scenarios where this is annoying.

@mgirlich mgirlich added the question Further information is requested label Jan 27, 2020
@mgirlich mgirlich added help wanted Extra attention is needed and removed question Further information is requested labels Feb 3, 2020
@Soccerama
Copy link

Do you have an example that you've looked at? I'm happy to give it some thought but would like to make sure I'm answering the same question.

@mgirlich
Copy link
Owner Author

I am not quite sure how empty strings came to my mind. Probably just when I was dealing with edge cases in the tests for json2(). Currently, I cannot really see any scenario where they might turn unexpectedly...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants