Byte Heist Home Leaderboard
Join the Heist (with Github)
Solve View

NestedText Serializer

A challenge by MichalMarsalek avatar MichalMarsalek

Description

Given a JSON document convert it to a NestedText document. To be precise, your output should:

  1. use inline items only for empty structures: [], {}
  2. use rest of line strings where possible
  3. use key items only where necessary
  4. use 4 spaces for indentation

Leaderboard

Author Score
No solutions yet
JavaScript (Deno) JavaScript (NodeJS) Python Rust C (tcc) APL (TinyAPL) Vyxal Vyxal 3
You must be logged in to submit a solution.