vivkin / gason

Lightweight and fast JSON parser for C++
MIT License
338 stars 51 forks source link

Handle empty JSON files gracefully #2

Closed ChrisJefferson closed 10 years ago

ChrisJefferson commented 10 years ago

This ensures endptr is always set to something sensible even if the input data was completely empty.