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 get json from SD storage? #81

Open
Linda0509 opened this issue Feb 27, 2016 · 1 comment
Open

How to get json from SD storage? #81

Linda0509 opened this issue Feb 27, 2016 · 1 comment

Comments

@Linda0509
Copy link

I have a json file in my SD storage. So how can I parse it ?

@hotdropper
Copy link

I think it would be something like:

File fh = SD.open("/file/path.json", FILE_READ);
aJsonStream stream(&fh);
aJsonObject* doc = aJson.parse(&stream);

But I'm having some weird string issues myself (which is why I'm looking in issues...) so that may not be quite right?

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

2 participants