Add initial JSON formatter

It works and can format all "plain" Perl data, but has a few known bugs
and limitations that still need to be worked out.

It's about 8x smaller than JSON::XS's encoder and *much* smaller than
Cpanel::JSON::XS, but this is just a first attempt, it'll grow.
This commit is contained in:
Yorhel 2025-01-27 15:37:05 +01:00
parent 9c80f2465a
commit c16a9fa493
10 changed files with 421 additions and 0 deletions

View file

@ -8,4 +8,6 @@ WriteMakefile(
META_MERGE => {
dynamic_config => 0,
},
OPTIMIZE => '-g -O2 -Wall -Wextra',
depend => { '$(OBJECT)', 'c/*.c' },
);