Pretty JSON output

Just getting started with RunKit and I’m trying to figure out how to print out or write out JSON from this notebook:

I’d like to take the output and manually feed it to another program. Thanks for your help!

I have an example here:

Basically, you want the JSON string, not the object. you could just do JSON.stringify, but this API returns the string.

1 Like