hjson-js icon indicating copy to clipboard operation
hjson-js copied to clipboard

emitRootBraces was removed?

Open wolfgang42 opened this issue 2 years ago • 0 comments

From the README:

emitRootBraces: boolean, show braces for the root object. Default true.

This is a useful option for making my output look neater, so I tried turning it on and spent a lot of time scratching my head wondering why it wasn't working. Turns out this was removed in 2b96ade57e9d675ddc5fe037ff95c6744d89c22e, but:

  1. the documentation wasn't updated accordingly, and
  2. that commit doesn't explain the justification for the removal.

I notice that the Hjson syntax says:

Note: This feature was previously marked as deprecated but is now officially supported again.

So maybe this option should be brought back again?

wolfgang42 avatar May 14 '22 18:05 wolfgang42