question

brendan avatar image
brendan asked

Make sure you're using the right " characters in JSON Files

gwertzman
started a topic on Sun, 28 September 2014 at 12:43 AM

I just spent 10 minutes debugging an error in my JSON catalog file, because I was using the native OSX "textedit" instead of a professional editor.

TextEdit insisted on using the fancy " characters that slope in, but that's invalid syntax. So I was getting this:

?BundledVirtualCurrencies?

instead of this:

"BundledVirtualCurrencies"

Switching to TextWrangler solved it --- the color coding in TextWrangler makes it really easy to pick out invalid syntax.

Hopefully this will solve someone else the same problem.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

Best Answer
zacb said on Thu, 19 February 2015 at 11:21 AM

Just adding an additional resource to test your JSON if you suspect formatting issues.

http://jsonlint.com/ is a great syntax checker as well as formatter.


2 Comments
estudioantropo said on Sat, 13 December 2014 at 4:21 AM

Thanks, just ran into the same problem :)


zacb said on Thu, 19 February 2015 at 11:21 AM

Just adding an additional resource to test your JSON if you suspect formatting issues.

http://jsonlint.com/ is a great syntax checker as well as formatter.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kirttaylor1992 avatar image
kirttaylor1992 answered

Try this tool: json formatter

Hope this help!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.