Generate listview dynamically based on JSON returned by custom action

Widgets & Design

Hello,

My function returns a JSON of this nature:
[{books: [{book_title: Dog Man}, {book_title: Dog Man: Lord of the Fleas}, {book_title: Dog Man: The Scarlet Shedder}, {book_title: Dog Man: Mothering Heights}, {book_title: Dog Man: Fetch-22}]}]

How can I create a widget that dynamically displays each of the book titles? The number of books can vary based on each request. On my page I have added a listview widget and inside a text widget just to give it a try. I have tried all the different combinations of variables on the listview and its children but nothing works! Would appreciate some help!

Thanks!

What have you tried so far?

Many different combinations of variables related to JSON (No further change, JSON path, etc.) but nothing worked.

Did you check FlutterFlow's Documentation for this topic?
Yes
2 replies