JSON file inside Visual Studio 2017 project - unexpected characters and double quotes

Tom Knowlton
Tom Knowlton used Ask the Experts™
on
For some reason, maybe due to schema or lack thereof, my JSON documents are flagged with "Unexpected character sequence in member name".

And also, the member names do not have quotes around them when I first open the document, but then either through process of saving or modifying the documents, the member names get surrounded with double-quotes.

 View: "vAnnouncements",

becomes:

"View": "vAnnouncements",

I could use some help with this!

I just recently ran "Get Latest" from the TFS, so the double-quotes problem corrected as a result.  But I am still getting the "Unexpected character" thing.
     

-Tom
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Team Lead
Commented:
how's your json string looks like?

can you verify it at:
https://jsonformatter.curiousconcept.com/
https://jsonlint.com/
?

also, try to read the comments:
Unexpected character sequence in member name
https://stackoverflow.com/questions/46495824/unexpected-character-sequence-in-member-name
Tom KnowltonWeb developer

Author

Commented:
Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial