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

@ -1,5 +1,9 @@
# FU - Framework Ultimatum
WIP.
*Contributing:* Refer to my [contribution guidelines)[https://dev.yorhel.nl/contributing].
## Build & Install
```sh
@ -7,3 +11,16 @@ perl Makefile.PL
make
make install
```
## Project ideas
Things that may or may not happen:
- FU - The website framework, taking inspiration from TUWF.
- FU::HTTPServer / FU::FastCGI - Minimal libs to support the web framework.
- FU::JSON - JSON::{XS,PP,etc}-compatible wrapper around FU::Util's JSON functions? I prolly won't need this myself, but could be handy.
- FU::Log - Basic logger.
- FU::PG - PostgreSQL client with support for custom types and a small query builder.
- FU::Util additions: `uri_escape`, `scrypt`, `urandom`.
- FU::Validate - TUWF::Validate & normalization with some improvements.
- FU::XML - TUWF::XMLXS with some improvements.