Json – How to make a class where one attribute is a generated list of the attributes of another list in the class?
I have a class of prices in a store. It does not accept price_range as an input but I want it to produce a list of all the prices of the products for itself. { "mall": [ { "store_id": 1,…