Commit Graph

17 Commits

Author SHA1 Message Date
c80d1723bf Use referencing iterator for array iteration 2012-04-13 11:30:50 +10:00
fe77bf9d7d Add and use type_error for type conversion failure 2012-04-13 11:23:13 +10:00
86b5abde08 Add json::null::as_null implementation 2012-04-13 11:15:08 +10:00
c0476c553e Use unique_ptr for all compound node children 2012-04-12 16:09:49 +10:00
45d8cfffbf Rename "to_<type>" functions to "as_<type>"
'to' implies a copy, 'as' implies reinterpret.
2012-04-12 16:08:06 +10:00
e6ad6c2db3 Use check{_hard,_soft} in preference to assert 2012-04-12 16:06:28 +10:00
040e565a18 Split json::error into parse and schema errors 2012-04-12 14:36:05 +10:00
d42fdfc771 Add indentation to json output 2012-04-12 14:09:33 +10:00
b302b510c3 Return unique_ptr from json routines 2012-01-04 17:05:40 +11:00
10b127415a Publically expose iterator typedef for json::array 2011-10-29 15:07:03 +11:00
6b0db35db7 Add type operator for bool class 2011-10-01 01:57:46 +10:00
c3ad96f88e Add more convenient array and object accessors 2011-09-23 13:45:09 +10:00
7cba9b8496 Json now parses from slurped strings, not mmap
mmap was a debatable choice in the first place, and is annoying under Windows,
so we may as well remove it.
2011-07-06 19:29:37 +10:00
e42b1f6a10 Pass object::insert string by const reference 2011-06-29 21:23:23 +10:00
898d082fb0 Expand brief documentation for classes 2011-06-23 22:06:28 +10:00
20f81a7630 Correct package name in copyright headers
Package is no longer waif, after its seperation from the waif
library/application. Hopefully there aren't any more dependencies...
2011-06-21 20:26:32 +10:00
745e06d1af initial import from waif 2011-05-23 17:18:52 +10:00