scala quad quoting

Hi all

val mySsn = “a number string”;

.body(StringBody(
“”" {“ssn”:"""" + mySsn + “”""} “”")).asJSON

How can I get this like the saveAs() method I store from my checks?

.body(StringBody(
“”" {“ssn”:"${mySsn}" } “”")).asJSON

I does not look good with all those quad “”""".

Thanks

Hi,

I think you need to prefix with an s:

s""" {“ssn”:"${mySsn}" } “”"