docs
docs copied to clipboard
[EDIT] General: JSON
Type of Edit (select all that apply)
Add new content (definitions, codeblocks, etc.)
Description (optional)
Add how you can read JSON with JavaScript. Also including how to import the JSON
Code of Conduct
- [X] I agree to follow Codecademy Doc's Code of Conduct
For Maintainers
- [x] Labels added
- [ ] Issue is assigned
@ethan-master-coding I wouldn't go too heavy with code snippets in the General entries. Instead, I'd suggest linking out to entries that have to do with reading/importing JSON. For the PR that get's made to close this issue, here is what I would also recommend.
Under JavaScript: JSON:
- Add info about how
JSON
is a reserved, standard object that is built into JavaScript (which is why we have access to methods like.parse()
and.stringify()
.
Under Python: JSON Module:
- Mention something about how JSON in Python is based on the object-literal syntax of JavaScript.
- List out the data structures (tuple, lists, etc.) and data types (link out to data types) that can be converted to JSON strings in Python.
Under General: JSON:
- Link out to JavaScript: JSON and Python: JSON Module.
- Add missing right-parenthesis (
)
next to "EcmaScript"). - Mention something about how JSON is language-agnostic but borrows from C-descendent languages such as C, C++, JavaScript, Java, and Python.
Hey! I'm interested in working on this issue - would you mind assigning it to me? 🥳 Thanks!
Hi @yhscherber! You're assigned 😄