Parsing a JSON string to Json

Hello, I’m trying to download a PDF that I receive from the server via POST request and the response is a json String with the pdf in base64 format. What I want to do is transform this Json String to JsonObject to get the base64 part to download as PDF.

I’m following those instructions: Reading Json, but when I try to call the JSON method it says that it is undefined. I’m importing org.camunda.spin.Spin.*;

Don’t know what I’m doing wrong…

You need to bring in the spin dependicies: Spin core and spin Json data format