kgabis / parson

Lightweight JSON library written in C.
MIT License
1.35k stars 329 forks source link

create callbacks to be able to overwrite file i/o functions #165

Open hazemati opened 3 years ago

hazemati commented 3 years ago

one of the applicatiosn of this library is on embedded systems, where functions such as fopen cannot be taken from . It'd be nice if we could leave the functions from stdio.h as default but give the user the option to overwrite them via callbacks (similiar to what you did with malloc and free).

kgabis commented 3 years ago

I'll look into it at some point.