Error invoking function S ${S(inputRequest).jsonPath('$.memberNumber').stringValue()}


I have error to invoking the function S. I was extracting json object to a single string. while deploying i was facing this error
SPIN/JACKSON-JSON-01001 Unable to parse input into json node

Resolved the issue by myself.

So, what is the final solution ?

Instead of S i used JSON .