mdn/js/2_javascript_objects/4_working_with_JSON

4_working_with_JSON

dz / mdn / js / 2_javascript_objects / 4_working_with_JSON

Summary

Working With JSON

Node Tree

Nodes

JSON
content JSON
children arrays_as_JSON, deserialization, fetch, props_no_meths, serialization, structure, text_based_data_format (description)

text_based_data_format
content Text-based data format following JavaScript Object syntax
parents JSON

deserialization
content Deserialization: converting string to a native object
children parse, serialization (related)
parents JSON

serialization
content Serialization: converting a native object to a string
children stringify
parents deserialization, JSON

structure
content structure
parents JSON

arrays_as_JSON
content Arrays as JSON
parents JSON

props_no_meths
content COntains only properties, no methods
parents JSON

fetch
content Fetch: API for making network requests in JavaScript, to retrieve resources (such as JSON)
children async_keyword (fetch is an async API)
parents JSON

async_keyword
content async keyword used to call async function
parents fetch

parse
content parse()
parents deserialization

stringify
content stringify()
parents serialization