|
b0c6b33f20
|
Add to_json for bool, nullptr, string
|
2013-08-05 20:54:19 +10:00 |
|
|
fcd3f73704
|
Add argument forwarding to {to,from}_json
|
2012-08-15 16:04:10 +10:00 |
|
|
b34a78216b
|
Use an intermediate class for json serialisation
To avoid the no-partial-specialisation rule for functions, use a class
we can partially specialise instead.
|
2012-08-10 17:37:23 +10:00 |
|
|
aad9a8377c
|
Move to_json and from_json to root namespace
|
2012-06-05 22:50:31 +10:00 |
|
|
3433e10ec1
|
Move the json output operator into json namespace
|
2012-04-26 18:20:08 +10:00 |
|
|
77942e008d
|
Change my email to an active domain
|
2012-04-23 13:10:50 +10:00 |
|
|
598f125d53
|
Add char* equality for json::strings
|
2012-04-20 18:20:19 +10:00 |
|
|
fd113f6c4d
|
Add json::object::has query for keys
|
2012-04-20 18:09:23 +10:00 |
|
|
0974400f1a
|
Make json constructors explicit
|
2012-04-20 18:08:38 +10:00 |
|
|
75eae5b4fa
|
Make json::object iterator public
|
2012-04-20 18:07:16 +10:00 |
|
|
cf69a5ba7a
|
Add json::string::size method
|
2012-04-19 16:45:10 +10:00 |
|
|
cd9762a94a
|
Add simple json::object accessors
|
2012-04-19 16:44:35 +10:00 |
|
|
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 |
|