parameterized Json encoding not resolved at runtime

We need encode the json an pass it with url. encoded json has parameters that will be fed during run time.

val fileContents = Source.fromFile(“jsonFile”).getLines.mkString

val bytes = fileContents.getBytes(StandardCharsets.UTF_8)
val encoded = Base64.getEncoder().encodeToString(bytes)

.get("/aefnextgen/?data="+encoded)

issue is when the json is encoded parameters are not replaced by feeder. How to resolve this.

Thanks,
Girish

Can anyone help me with this issue?

Thanks,
Girish