• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Well formed JSON

Are both of these well formed JSON.

{ "name" : "John"  }

{"name":"John"}

Open in new window


Do the spaces matter ?
0
Anthony Lucia
Asked:
Anthony Lucia
1 Solution
 
zzynxSoftware engineerCommented:
According to http://jsonformatter.curiousconcept.com/ both are valid and that's what I would expect too.
So, no spaces don't matter.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now