how can i parse json data to a api from list of documents

Database & APIs

I have one firebase collection with templates of chapters and one with books.
Now I want to send the chapters (that are related to the book) using a post command to a external API.
This is the body I want to send. When testing the API everything is working.
I only don't know how to combine this information to a JSON in the Action Flow Editor.

Is there any video / explanation how this works? I think it should be very simple. In Bubble this is very easy to do. Can't figure out how it works in Flutterflow.

Test data:
{

"humandesignchart": "Z9iPKgmyUupJ3ZADF",

"creatorname": "Peter",

"owner": "f2B7YIESJtTY7JuwcmsRcI6i1",

"chapters": [

{

"chaptertitle": "Chapter 1",

"description": "info of chapter 1"

},

{

"chaptertitle": "chapter 2",

"description": "info of chapter 2"

}

]

}


What have you tried so far?

I tried changing the variable field from JSON to a String. Then I am only able to parse Title or Description. Actually I am not able to parse the complete object.

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