Example to read a file
j-k opened this issue · 1 comments
j-k commented
It would be nice to have some example code how to read out and parse a file.
artwyman commented
Wouldn't hurt, but since JSON11 parses any string, it seems out-of-scope to cover various ways to get data into a string (file, network, etc). There are some easy examples of that to find elsewhere, e.g: http://stackoverflow.com/questions/2602013/read-whole-ascii-file-into-c-stdstring