Groovy web console

subscribe to the feed Subscribe
to this
site

multiline string

Published 3 months ago by ac
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
/* Hello World in Groovy */def multilineString = """
                        {
                            "message":"Internal Server Error",
                            "code":500,
                            "errorCode":"PLN-CC-5001"
                        }
                     """
println(multilineString)