Loading ...
Sorry, an error occurred while loading the content.

1621Do numeric values need to be double quoted when returned in objects?

Expand Messages
  • toddkingham
    Mar 11, 2011
      Just as the subject suggests... Do you need to double quote numeric values to be valid JSON? JSONlint seems to validate the following string just fine: {"age":35}

      I believe the part in the spec that says all STRINGS must be double quoted doesn't apply to numeric values as they are not strings...yes?

    • Show all 4 messages in this topic