How to convert object to string?

0
Hello,   Can anyone know how to convert object to string?    Thanks    
asked
2 answers
2

Hi Frank,

There are a couple of approaches you can take here. You can choose to add multiple parameters for each attribute of the object, which gives you more freedom in how you want to format the result in the logline. For instance, you can add $latestHttpResponse/Content as a parameter and use that {1} in your logline to print that parameter.

If you want to print the entire object, the conventional method is to use an Export Mapping. Read more about them here.

answered
0

Thank you Marius.  By the way , if the object is a list, how can I convert it to a string?

answered