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

We need implement json.parse method #7

Open
EugeneDar opened this issue Sep 10, 2022 · 2 comments
Open

We need implement json.parse method #7

EugeneDar opened this issue Sep 10, 2022 · 2 comments
Assignees

Comments

@EugeneDar
Copy link
Member

It would be nice to have a method that gets the string and converts it to a json object, or throws an exception if it can't parse.

@EugeneDar EugeneDar self-assigned this Sep 10, 2022
@EugeneDar
Copy link
Member Author

@yegor256 if you look at other string methods, we cannot write even a small test for this method, because even for a string longer than 6 characters we already catch StackOverFlow.

@EugeneDar
Copy link
Member Author

Does it make sense to implement a method that can only parse such short strings?

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

No branches or pull requests

1 participant