Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improved grammar #4517

Merged
merged 2 commits into from
Mar 27, 2022
Merged

improved grammar #4517

merged 2 commits into from
Mar 27, 2022

Conversation

chriskorosu
Copy link
Contributor

Changed comma to parentheses to make it clear that what previously followed the comma is a side-note, not a separate statement with equal weight

Changed "includes" to "also applies to" to remove grammatical ambiguity which allowed for the following interpretation: "strings can contain object properties"

Changed comma to parentheses to make it clear that what previously followed the comma is a side-note, not a separate statement with equal weight

Changed "includes" to "also applies to" to remove grammatical ambiguity which allowed for the following interpretation: "strings can contain object properties"
@@ -65,7 +65,7 @@ There are a few rules to remember when dealing with data in JSON
format. There are several gotchas that can produce invalid JSON as well.

* Empty objects and arrays are okay
* Strings can contain any unicode character, this includes object properties
* Strings can contain any unicode character (this also applies to object properties)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Strings can contain any unicode character (this also applies to object properties)
* Strings can contain any unicode character. (This also applies to object properties.)

@Trott
Copy link
Member

Trott commented Mar 27, 2022

I suspect we should remove this article entirely and replace it with a link to https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON. We really don't need to maintain a JSON tutorial. That's outside of the scope of the website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants