[WS] Contains String

This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/ws-contains-string.html

I see this similiar to assertion.

WS.containsString(resObj, 'email@katalon.com', false)

Could elaborate more if the response is in array list, does it support?

“cars”:[ “Fiat”, “suzuki”, “honda” ]
“cars”:[ “BMW”, “Fiat” ]

How to make sure response contains name Peter and cars only BMW, fiat under its own json?
Or how to make sure response does not contains name Mary?

Hello @Gan_Jyi_Yng

Please see the document of [WS] Verify Element Property Value for verifying the response element.