NestedText Serializer
A challenge by
MichalMarsalek
Description
Given a JSON document convert it to a NestedText document. To be precise, your output should:
- use inline items only for empty structures: [], {}
- use rest of line strings where possible
- use key items only where necessary
- use 4 spaces for indentation
Leaderboard
| Author | Points | ||
|---|---|---|---|
| #1 |
|
Natanaelel | 363 |
| #2 |
|
dmrichwa | 419 |
| #3 |
|
MichalMarsalek | 430 |
| #4 |
|
MeWhenI | 750 |
| #5 |
|
mousetail | 923 |
| #6 |
|
XenThe | 1088 |