Skip to content

Commit 01d8443

Browse files
authored
Update part3a.md
Correcting the common misconception "JSON is a string"
1 parent 86cf153 commit 01d8443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/3/en/part3a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ response.end(JSON.stringify(notes))
348348

349349
With Express, this is no longer required, because this transformation happens automatically.
350350

351-
It's worth noting that [JSON](https://en.wikipedia.org/wiki/JSON) is a string and not a JavaScript object like the value assigned to _notes_.
351+
It's worth noting that [JSON](https://en.wikipedia.org/wiki/JSON) is a data format. However, it's often represented as a string and is not the same as a JavaScript object, like the value assigned to _notes_.
352352

353353
The experiment shown below illustrates this point:
354354

0 commit comments

Comments
 (0)