vivkin / gason

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

Two small patches #3

Closed ChrisJefferson closed 10 years ago

ChrisJefferson commented 10 years ago

Two small patches:

1) I only recently realised the comment I have put in pretty-print (no need to call o.toNode before iterating). While it wouldn't be necessary if people read the documentation, who does that :)

2) I'm not sure how on other people's computer 'arraySize' is defined, but I just put in the normal C definition to get the code to compile on my mac.

vivkin commented 10 years ago

thx :)