Syntax Javascript error

I have the following script in my file:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"url": "http://www.hotislandspots.com",
"logo": "http://www.hotislandspots.com/assets/images/res/ak_logo.png"
"contactPoint" : [
{ "@type" : "ContactPoint", "telephone" : "+1-888-xxx-xxxx" } ] }
"sameAs" : [ "https://www.facebook.com/hotislandspots",
"https://www.youtube.com/user/hotislandspots",
"https://www.pinterest.com/hotislandspots",
"https://twitter.com/hotislandspots",
"https://instagram.com/hotislandspots"]
}
</script>

Open in new window

I am getting a syntax error on the line that reads "@context": "http://schema.org",
I don't see what's wrong.  Can anyone give me some help?
mmathis32Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobOwner (Aidellio)Commented:
There was a missing comma and a floating end curly bracket.

Here is the updated code:

{
"@context": "http://schema.org",
"@type": "Organization",
"url": "http://www.hotislandspots.com",
"logo": "http://www.hotislandspots.com/assets/images/res/ak_logo.png",
"contactPoint" : [
{ "@type" : "ContactPoint", "telephone" : "+1-888-xxx-xxxx" } ],
"sameAs" : [ "https://www.facebook.com/hotislandspots",
"https://www.youtube.com/user/hotislandspots",
"https://www.pinterest.com/hotislandspots",
"https://twitter.com/hotislandspots",
"https://instagram.com/hotislandspots"]
}

Open in new window

mmathis32Author Commented:
it still says the same thing.
RobOwner (Aidellio)Commented:
change <script type="application/ld+json"> to just <script>

I'm not seeing the error.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

RobOwner (Aidellio)Commented:
Here is what i mean... you can see that it outputs the object successfully to the console:  http://jsbin.com/tugiha/1/edit?js,console
mmathis32Author Commented:
Still says the same thing. I added a [ at the beginning of line ["@context": "http://schema.org", and it still says the same thing.
RobOwner (Aidellio)Commented:
Did you see the jsbin i posted?

All you're doing by adding a [ is making an array.

What's the context of this?  I need to see more of your code to know what's going on, because as you can see by the jsbin link, there's nothing wrong with the revised code I posted above.
mmathis32Author Commented:
Maybe it's a dreamweaver thing. IT says code hinting may not work until you fix this error.
mmathis32Author Commented:
Yes I saw your jsbin. Thanks so much!
RobOwner (Aidellio)Commented:
More than likely a dreamweaver thing as it only knows how to parse (and hence syntax highlight) html and some JavaScript.
Save that json to an external file and load it like this:

<script src="myjson.js"></script>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mmathis32Author Commented:
OK THANKS! YOU HELP HAS BEEN INVALUABLE!
RobOwner (Aidellio)Commented:
No problem! thanks for the points :)
mmathis32Author Commented:
ur welcome
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.