VimDojo
Lessons
Challenges
Editor Demo
Login
Get Started
← Back to Challenges
advanced
Time limit: 3:00
CSV to JSON
Convert CSV rows into JSON objects using substitution.
Commands
:%s
CSV to JSON
Convert CSV rows into JSON objects using substitution.
Time
0:00
/ 3:00
Editor
0 keys
1
n
ame,age,city
2
Alice,30,Paris
3
Bob,25,London
4
Carol,28,Tokyo
-- NORMAL --
csv-to-json
Target
1
name,age,city
2
{"name": "Alice", "age": "30", "city": "Paris"}
3
{"name": "Bob", "age": "25", "city": "London"}
4
{"name": "Carol", "age": "28", "city": "Tokyo"}
-- NORMAL --
csv-to-json
Hints (0/2)
Reset
⚠ Guest mode —
Sign in
to save your progress and score