bradjasper / ImportJSON

Import JSON into Google Sheets, this library adds various ImportJSON functions to your spreadsheet
GNU Lesser General Public License v3.0
2.11k stars 1.06k forks source link

Problems with similar keys #119

Open heibie opened 5 years ago

heibie commented 5 years ago

Hello, I'm querying the WordPress-org-API to get informations update Plugins. e.g. i use: = ImportJSON("http://api.wordpress.org/plugins/info/1.0/duplicate-post.json";"/version"; "noHeaders, noInherit, noTruncate") to output the current plugin-version in my sheet.

The "version"-Field is fetched correctly, but it also fetches the values of the "versions"-Field, which i don't need. Is there a way to exclude them?

Thanks in advance Heiko

chriscarrel commented 5 years ago

I was able to resolve this by making the following change.

image
heibie commented 5 years ago

Work also for me. Thanks!

jvreeken commented 5 years ago

Worked for me too :) thank you!