681768093e
hash: use a consistency, less flexible, interface
2018-01-13 15:24:12 +11:00
34788756d2
build: don't use './' as an include prefix
...
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
353cf839d4
use nested namespace declarations
2017-01-05 15:06:49 +11:00
48364cd227
build: use experimental::fs over boost::fs
2016-10-07 19:48:42 +11:00
116ad04a1f
build: use ostream/istream over iostream
2016-08-04 17:42:41 +10:00
8694b95cec
json/tree: add is_integer query
2016-07-04 15:45:38 +10:00
73c30561af
json/tree: reinstate path based parsers
...
json::tree::node is a fat object, so it's safe to load the source data
from within the parsing function
2016-06-28 16:57:44 +10:00
d7204d7cac
json: remove path based parsers
...
parsers don't store copies of the data, so we can't allow functions that
allocate data themselves.
2016-06-28 15:59:53 +10:00
642317f6a4
json: use templated iterator for parsing from views
2016-06-28 14:16:28 +10:00
8142944139
json: store numbers natively as uint/sint/real
...
allows more accurate representations and better error checking.
2016-05-12 17:41:31 +10:00
ab330cc520
add ref-qualifiers to avoid dangling refs/ptrs
2016-03-17 18:05:28 +11:00
ea1dbd253a
j/tree: add from_path function for clarity
2016-02-11 14:53:43 +11:00
c2589abc8e
j/tree: add templated type conversions
2015-09-08 14:33:39 +10:00
e6b15d2a85
j/tree: remove ambiguous string parse call
...
single pointer string parsing can be confused with filesystem paths.
instead prefer the two pointer range form.
2015-09-08 14:32:48 +10:00
bedd74747c
json/tree: explain lack of scalar type operators
2015-08-28 21:06:45 +10:00
99ee6ed04f
j/tree: add override specifiers
2015-06-30 22:24:43 +10:00
2658b41ea1
relicence under Apache-2.0
2015-04-13 18:05:28 +10:00
d102410567
json/tree: add as_bool native accessor
2015-03-23 18:41:07 +11:00
f73b39f063
json/tree: add std::string/string equality ops
2015-03-19 00:25:50 +11:00
1d0240ba10
json/tree: move some array methods to cpp
2015-03-19 00:25:50 +11:00
f333c75218
json/object: add find method
2015-03-19 00:25:50 +11:00
9230de8c98
json/tree: add const begin/end
2015-03-19 00:25:50 +11:00
1877767614
style
2015-03-19 00:25:50 +11:00
2592cd0442
json/tree: add mutable indexing operators
2015-03-19 00:25:50 +11:00
a2535e2006
json/tree: add mutable conversion queries
2015-03-19 00:25:50 +11:00
6e81437b93
json/tree: add as_chars accessor
2015-03-19 00:25:50 +11:00
b01635141f
json/tree: add type enum and value queries
2015-03-19 00:25:50 +11:00
5e20ee3a1d
json/fwd: add forward declaration header
2015-03-19 00:25:50 +11:00
5fd11fbe53
json/tree: make value classes final
2015-03-18 15:45:33 +11:00
4f0f040f7d
json/tree: add clone method
2015-03-18 15:44:46 +11:00
0db3188a49
j/tree: add as_{uint,float,double}
2015-02-16 23:38:08 +11:00
2ae1c5e465
json: make include paths relative
...
fixes path issues when used from other projects
2015-02-03 13:09:23 +11:00
60787655b3
json: split json impl files into tree and flat
2015-02-03 00:15:07 +11:00