FSMaxB / mcJSON

A fork of cJSON with the goal of making it fit to create JSON containing cryptographic keys.
ISC License
2 stars 1 forks source link

Buffered parsing #4

Closed FSMaxB closed 8 years ago

FSMaxB commented 8 years ago

This feature allows to parse the entire JSON-Tree into one contiguous memory region. This can massively improve performance in situations where allocating memory is an expensive operation.

Note though, that if the buffer isn't big enough, parsing will fail.