Building Your Learning Module...
Getting things ready for you!
Find videos you like?
Save to resource drawer for future reference!
Converts a JavaScript object into a JSON string. Use it to send data to servers, save to local storage, or prepare data for transmission.
Convert objects and arrays to JSON strings
Format JSON with indentation
Common use with fetch API
Store complex data in localStorage
Values that won't be stringified
Date objects convert to ISO strings
Objects that reference themselves will throw errors
JSON.stringify(value, replacer?, space?)JSON.stringify(value, replacer?, space?)
Converts object/array to JSON string
Functions, undefined, symbols are excluded
Use 3rd parameter for formatted output