_ivanovich_Frequent Contributor6 years agoSolvedHow to convert array to intger with groovy ? Hi, i have a json response where there is a value like : slurperresponse.data.debt[0].totalValue = [50] if i assert like this: assert slurperresponse.data.debt[0].totalValue = 50 it doesn't acce...Show More_ivanovich_6 years agoFound solution with this:int b = a.collect { "$it" }.join( '' ) as int Sorry for spam.
_ivanovich_6 years agoFound solution with this:int b = a.collect { "$it" }.join( '' ) as int Sorry for spam.
_ivanovich_6 years agoFound solution with this:int b = a.collect { "$it" }.join( '' ) as int Sorry for spam.
Recent DiscussionsCom server permission error on Process.startReuse adapted xml file and send in RESTManaging Failures - New vs. Expected/Known Issues
Related ContentGroovy Script convert string to integerConvert a flat JSON object to x-www-form-urlencodedConverting UTC TimeDate in an Excel file