timo / json_fast

a naive imperative json parser in perl6, to evaluate performance against JSON::Tiny
Artistic License 2.0
27 stars 20 forks source link

:!pretty now inserts newlines #60

Closed jnthn closed 5 years ago

jnthn commented 5 years ago

Previously, using :!pretty would promise a single line of output. This meant it could be used to produce JSONLines. A recent change has made it insert newlines with :!pretty, which breaks modules that (like Log::Timeline) that relied on the previous behavior.

timo commented 5 years ago

fixed with https://github.com/timo/json_fast/commit/71329233e2a9ef826c337c154baf6d6cbef3913e, even with tests! thanks