What does getObjectMapper actually do?

I dont understand how to convert the objectMapper.readValue(uri, ?) to a list, or how the object mapper actually works. Should I create a new class or do something else?

There is a POJO class already available named portfoliotrade.java

You can go though these links… They have helped me a lot in understanding how it works…
If it clears things for u… Mark it at solution