not_one_idea
03/15/2024, 4:29 PMoutput was already parsed as JSON. Which would allow us to write something like:
> output.analysis[0].tag.includes('Fun')
However, the typeof output is string. So for each javascript assertion we need to perform JSON.parse(outout) before interacting with the output as JSON. Using JSON.parse(output) works like a champ ... but the docs seem to imply that JSON.parse isn't necessary.
Am i doing something wrong?not_one_idea
03/15/2024, 4:30 PMoutput and outputObj . i tried outputObj thinking maybe that is the JSON parsed version of the output. No dice ... the output obj does not exist.ian
03/15/2024, 10:54 PMnot_one_idea
03/17/2024, 3:35 AMnot_one_idea
03/17/2024, 9:04 PM