Accessing w/ Postscript
Extracting w/ Postscript
const apple = $.find((fruit)=>fruit.name == "Apple");
// the $ represend the whole json response object
// we then use an array method to find the "Apple" objectconst appleName = apple.name; // returns "Apple"
const appleCalories = apple.nutritions.calories; //returns 52Using Postscript with Pre-Extracted Values
Last updated