Hot answers tagged


Currently there is no any Add-on which offer this functionality, so you have to create or import custom functions by Script Editor available in Tools menu (for Spreadsheet). Then re-paste the content of from bradjasper's GitHub page and save it. After that, you can use ImportJSON function, for example: =ImportJSON("


You can build a custom parser for any fixed JSON string using regular expressions. For example, if you want to extract the child items into columns you can do the following (assuming your JSON string is in A1): =SPLIT(REGEXREPLACE(INDEX(REGEXEXTRACT(A1,"(\[(\n|\s|""|\w|,)+\])"),1),"(\[|\]|\n|\s|"")",""),",") You can adapt this formula to suit whatever ...


If you want to paste a JSON object you can use to convert it to a CSV and then import that into Google Sheets. If you want to rotate the data from columns to rows you can use I found this easier than messing with an addon script.


Assuming that the value of rev2_1 always will have 5 characters use =mid(A1,find("rev2_1",A1)+10,5) Explanation find finds the position of the first character of rev2_1 mid gets a text (substring) of certain length (5) from a starting position, in this case the result of find plus 10 characters.


There might be a shorter way, such as with string manipulation (e.g., MID) or regular expressions (REGEXEXTRACT), but this works: =1*trim(substitute(substitute(substitute(index(SPLIT(A1,":"),3),"rev2_2",""),CHAR(34),""),",",""))

1[[your key here]]/od6/public/values?alt=json Source: The author doesn't explain it super well, but if you just swap out your key for hers in the example provided in the comments, that works.

Only top voted, non community-wiki answers of a minimum length are eligible