display JSON console data in swiftUI contentview

I have a bunch of JSOn data printed to my console but I want that data to be displayed in my UI on the iOS simulator and content view UI. ill show the class with my instances and property wrapper im using aswell as the function thats calling my other code that displays the data in the console

        @Published var makeapirequest: String = ""   //make sure instance is correct
        
        func makeAPIRequest() {
            makeRequest()
               
        }
           
    }
       
       
    @StateObject public var NotionCaller = NotionCall()   //manage lifecycle of instance

and then below is the Text() line I added the display the data aswell as the onAppear modifier

                            NotionCaller.makeAPIRequest()
                        }
                            Text(NotionCaller.makeapirequest)

im trying to display the data by calling the instance of the function that calls makeRequest() but the data is still being displayed in the console rather than in my swiftUI.

display JSON console data in swiftUI contentview
 
 
Q