Hi Team,

When I was using the below groovy script, *groovy.json.JsonSulper *was
throwing this error, Can you please help me with this

Throws java.lang.RuntimeException: Unable to load FastStringService


import groovy.json.*
import java.net.http.*
def req = new URL("https://jsonplaceholder.typicode.com/todos/1
").openConnection();
def postRC = req.getResponseCode();
def streamText = req.getInputStream().getText()
def jsonSlurper = new JsonSlurper()
println streamText
def json = jsonSlurper.parseText(streamText)
println json


Thanks,
Teja

Reply via email to