Displaying the path as output instead of JSON contents. Getting successful build but still

INFO :[“com.crio.warmup.stock.dto.PortfolioTrade@55342f40”,“com.crio.warmup.stock.dto.PortfolioTrade@a4ca3f6”,“com.crio.warmup.stock.dto.PortfolioTrade@72ea6193”]

is the output im getting. MY build is passing but the output isnt correct I THINK

Yes you are right. Keep going and you’ll find the right solution :slight_smile:

Yes, @Mann. We needed to output a list of the symbols for each of the stocks we read from the JSON file. You have to do some more processing to get the required output as @shoryajain rightly suggested.

Look at the POJO class and try fitting the getters into you code to get the required output.

The output is not correct these are addresses of java objects. try again, you’re at right path by the way. good work.

Make sure you are overriding your toString() method :slight_smile: