RapidJSON is memory-friendly Each JSON value occupies exactly 16/20 bytes for most 32/64-bit machines (excluding text string) By default it uses a fast memory allocator  and the parser allocates memory compactly during parsing