Extract Json data from Function node and display debug node individually

Hi, after searching on google I was able to extract individual single value data using node function but how can I extract more than 1 value to send the individual data from JSON format to debug node using node function.

For Extracting only one value I have used mentioned formulae

p = JSON.parse(msg.payload);
node.log(typeof p);
msg.payload = p.my;
return msg;

I am using the flow mentioned in snapshot below

See the manual on creating multiple outputs ?

https://nodered.org/docs/writing-functions#multiple-outputs

You shouldn't need to do that in your function since you are using the JSON node.