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

Extract a non-existing key from the json string doesn't seem to be working properly #10

Open
rohitsivakumar opened this issue Nov 18, 2021 · 0 comments

Comments

@rohitsivakumar
Copy link

rohitsivakumar commented Nov 18, 2021

I tried out your library and it works good considering the keys in the json string exist and are correctly provided in the jsonExtract function. However, trying to send a non-existing key results in an incorrectly parsed string instead of returning an empty string. I think in this scenario of non-key existence case it should provide some way to indicate the key does not exist similar to the "containsKey(...)" function in ArduinoJson or fix the jsonExtract function to support passing an empty string when key doesn't exist.

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