CA
vicious-gold
Help regarding Apify Output schema nested fields
"details.price_details" is itself nested, how to flatten it in output scheme?
Thanks
6 Replies
Pls elaborate, in example above object property used for output, if you change it to object i.e. just "details" then output should be expandable tooltip
so you have choice to output single properties by your choice or object as a whole
vicious-goldOP•2y ago
Hi
Thank you for your response. Actually "details.price_details" is an object too
eg details.price_details = { normal_price: 78, formated_price: "$78.00" }
With the above output scheme I am getting undefined (in table format), but when I peek into the json data the data is there.

vicious-goldOP•2y ago

vicious-goldOP•2y ago
but shows up in the all fields

Hm, I not sure if its UI glitch or something to do with formatting. Just in case: https://docs.apify.com/platform/actors/development/actor-definition/output-schema
vicious-goldOP•2y ago
Thanks, actually I went through this but no luck as of now.