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

Import JSON from sheet #34

Closed
oli opened this issue Jul 9, 2021 · 6 comments
Closed

Import JSON from sheet #34

oli opened this issue Jul 9, 2021 · 6 comments

Comments

@oli
Copy link

oli commented Jul 9, 2021

Thanks for this function! I’m being emailed JSON output, and would like a way to quickly ingest it into Google Sheets. Is there any chance you could consider an ImportJSONFromSheet-style option similar to bradjasper/ImportJSON (which I can’t seem to get to work)?

Thanks, and no worries if you think that’s outside the wheelhouse of IMPORTJSONAPI 😅

@qeet
Copy link
Owner

qeet commented Jul 9, 2021

Hi,

This is not something I plan to implement I'm afraid. However you can use something like this:

https://extendsclass.com/json-storage.html

This allows you to paste your json data and then gives you a http address you can use to import the data via IMPORTJSONAPI

@qeet
Copy link
Owner

qeet commented Jul 9, 2021

Actually I could easily implement this so the first parameter could be a json string: e.g

=IMPORTJSONAPI(A2, "$", "@")

Where cell A2 (or any other cell) contains the JSON data as a string. Would this work for you?

@oli
Copy link
Author

oli commented Jul 9, 2021

@qeet That would be perfect! 😍 Thank you for considering this idea 🙇

@qeet
Copy link
Owner

qeet commented Jul 9, 2021

OK. Will try and do this sometime this weekend.

@qeet
Copy link
Owner

qeet commented Jul 10, 2021

@oli It is done.

@oli
Copy link
Author

oli commented Jul 12, 2021

@qeet This works perfectly, even when the cell is on another sheet. Thank you so much! 🎉

@oli oli closed this as completed Jul 12, 2021
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