From 0612bfa57649c4bffea0ca6e436539d8c3193a80 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Sat, 22 Mar 2025 14:09:55 +0300 Subject: Added json serializer/parser --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index d3d1a2c..362c237 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,9 @@ This is just a collection of (usually single-purpos) header files that I use ref * Summary: Code generator for embedding resources directly into an executable. * How to use: It exposes C interface, so in order to use it, you will need to have a C program that builds resources for you. It has it's own repo, but i will be adding CLI to there soon. * Examples: see [this repo](https://github.com/justanothercatgirl/embed_test.c/) +## [`json.h`](include/json.h) +* Summary: json generator and parser that supports comments. +* How to use: define `JSON_IMPLEMENTATION` macro. `CONTAINER_IMPLEMENTATION` MUST be defined as well; either somewhere earlier in the code before including `container.h` or just before `json.h`. this JSON implementation uses `array` and `hash_map`. ## `build.h` nearest TODO for now. * Summary: a build system based on C. To compile something under it, you do something like `cc -o builder builder.c && ./builder`. The idea is stolen from [Tsoding](https://example.com) -- cgit v1.2.3-70-g09d2