Closed c9s closed 10 years ago
Well, I actually don't want to add more dependencies. we might just want a simpler encoder (using vasprintf + strncat) since our data structures are fixed fields and they are pretty simple.
and the JSON encoder can be done < 100 lines I think.
Hi @thedrow,
I looked into the source code of ujson4c. not sure if the license will conflict with our MIT license?
Just found that json-c/json-c
is using MIT license
We can open an issue at their end but I believe that BSD3 with MIT is fine as long as you attribute them for the contribution.
double checked... there are only decoding functions in ujson4c
looks like i will pick json-c
instead of this. it's also in MIT license.
built json:
No encoders? :( json-c it is.
Done. just got merged into master.
I strongly suggest to use https://github.com/esnme/ujson4c/. It's blazingly fast,