2

I have a JSON-string in my google-script and it looks like this:

{ "email": "[email protected]", "url": "http://www.url.com" }

Now i want to send an email to the email that is specified in the string. How do i get the email element out of this JSON string?

1

1 Answer 1

1

Try the following:

var data = JSON.parse(yourJSONString);
var email = data.email
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.