Question posted in Json
Our archive of expertly curated questions and answers provides insights and solutions to common problems related to this popular data interchange format. From parsing and manipulating JSON data to integrating it with various programming languages and web services, our archive has got you covered. Start exploring today and take your JSON skills to the next level
Our archive of expertly curated questions and answers provides insights and solutions to common problems related to this popular data interchange format. From parsing and manipulating JSON data to integrating it with various programming languages and web services, our archive has got you covered. Start exploring today and take your JSON skills to the next level
2
Answers
Have you checked to make sure there’s no new line characters? Paste the JSON into a text editor and make sure it is plain text with no unprintable characters, like newline. Since your publicPem entry is so neatly formatted and your privatePem entry goes past, I bet this is the problem and hence the unterminated string error.
You could also try pasting the JSON into an online JSON formatter.
p.s. Next time asking a question like this, post the text and not an image. Then someone who answers the question could actually check that for you.
You have newlines in the middle of a string:
It needs to be a single line:
Or, (depending on how you implement it), you may be able to do: