Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
JavaScript
0/50 solved · 0%
All lessons
lesson
code
Data · easy
20. JSON
Serialize and parse.
Write `roundTrip(obj)` that stringifies then parses an object back.
Required in your answer:
JSON.stringify
JSON.parse
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function roundTrip(obj) { // TODO }
Output appears here.
← 19. Sorting
21. Closures →