1474 Commits

Author SHA1 Message Date
Milo Yip
4029ddb165 Merge pull request #542 from miloyip/issue316_templatedaccessors
Templated accessors and range-based for
2016-02-19 22:28:48 +08:00
Milo Yip
cdc2330c0e Merge pull request #550 from ibell/patch-1
Editorial changes to schema documentation
2016-02-19 10:24:42 +08:00
Ian Bell
479a6b9f68 Editorial changes to schema documentation
Fixed up some wording to the schema documentation
2016-02-18 19:23:07 -07:00
Milo Yip
9f6736c2cc Add noexcept to the constructors 2016-02-19 01:07:16 +08:00
Milo Yip
46dc8e9240 Add implicit constructors of GenericValue for GenercArray|Object
Also remove SetArray|Object(…)
2016-02-19 00:49:05 +08:00
Milo Yip
d13be6c721 Change pointer to reference in GenericArray|Object 2016-02-18 19:04:22 +08:00
Milo Yip
70f9671bdf Return value type for GenericObject/Array member functions 2016-02-18 01:19:47 +08:00
Milo Yip
8c79fb65ae Fix return type of GenericObject::AddMember() 2016-02-17 09:34:19 +08:00
Milo Yip
4ababca893 Fixed typos pointed out by @pah 2016-02-17 08:48:22 +08:00
Milo Yip
e733690e69 Merge pull request #543 from miloyip/issue205
Add (Pretty)Writer::RawValue()
2016-02-15 13:06:23 +08:00
Milo Yip
9ecf073aff Merge pull request #536 from miloyip/issue362
Add Writer::SetMaxDecimalPlaces()
2016-02-15 13:05:05 +08:00
Milo Yip
716f16b137 Merge pull request #544 from miloyip/optimization
Optimize Writer::WriteString() with SIMD
2016-02-14 18:59:39 +08:00
Milo Yip
6a6d9c7e05 Optimize Writer::WriteString() with SIMD 2016-02-14 17:37:53 +08:00
Milo Yip
e7cb2b1cbf Add (Pretty)Writer::RawValue()
Fix #205
2016-02-14 15:31:24 +08:00
Milo Yip
6671bd50f1 Fix another compilation error 2016-02-14 14:07:19 +08:00
Milo Yip
be66450ecd Fix compilation errors 2016-02-14 14:00:27 +08:00
Milo Yip
1634395378 Add object helper 2016-02-14 13:49:52 +08:00
Milo Yip
c974997d05 Merge pull request #541 from jschobben/issue507
Add stream position check to reader unit tests
2016-02-14 06:57:26 +08:00
Milo Yip
923db0e641 Fix gcc compilation error 2016-02-14 06:14:12 +08:00
Jesse Schobben
995652e748 Add stream position check to reader unit tests 2016-02-13 23:04:21 +01:00
Milo Yip
effc8a8f30 Let constness of GenericArray::ValueItaertor depending on ValueType 2016-02-14 00:12:04 +08:00
Milo Yip
960324a95b Try to fix gcc compilation error 2016-02-13 23:07:26 +08:00
Milo Yip
2a78b4da8c Fix Value.String test compilation error 2016-02-13 22:11:12 +08:00
Milo Yip
0b098eb38d Rectify constness of Array 2016-02-13 22:09:14 +08:00
Milo Yip
59309b5dd2 Add GenericArray helper class with range-based for 2016-02-13 19:06:03 +08:00
Milo Yip
c6946fd2c1 Merge branch 'master' into issue316_templatedaccessors 2016-02-13 17:09:15 +08:00
Milo Yip
b20a9dc88d Merge branch 'issue341_float' 2016-02-13 17:03:26 +08:00
Milo Yip
98ddfacdf1 Another try with volatile 2016-02-13 16:53:45 +08:00
Milo Yip
58d8d9ab9b Try fixing unit test in release configuration 2016-02-12 23:35:17 +08:00
Milo Yip
746a996cb9 Merge branch 'master' into issue341_float 2016-02-12 23:06:55 +08:00
Milo Yip
513fe7894e Add templated accessors for C string 2016-02-12 23:06:49 +08:00
Milo Yip
4d648fdcd8 Add templated accessors 2016-02-12 18:23:32 +08:00
Milo Yip
e61169e61a Fix Value::GetFloat() 2016-02-12 18:13:11 +08:00
Milo Yip
23e410b18a Merge pull request #540 from miloyip/issue341_float
Add Value::Get/SetFloat(), Value::IsLossLessFloat/Double()
2016-02-12 16:47:49 +08:00
Milo Yip
8b4c999888 Add Value::GetFloat(), Value::IsLossLessFloat/Double()
Fix #341
2016-02-12 16:33:31 +08:00
Milo Yip
3cb5733ec0 Merge pull request #539 from miloyip/issue538_regexzeromin
Support {0, } and {0, m} in Regex
2016-02-12 15:01:57 +08:00
Milo Yip
60116cf11e Support {0, } and {0, m} in Regex 2016-02-12 14:17:53 +08:00
Milo Yip
1d856b2761 Add Writer::SetMaxDecimalPlaces() 2016-02-11 16:08:17 +08:00
Milo Yip
3c2c16283c Merge pull request #534 from miloyip/issue325
Add encoding validation option for Writer/PrettyWriter
2016-02-11 00:06:18 +08:00
Milo Yip
7e383864c7 Fix #533 2016-02-10 11:36:23 +08:00
Milo Yip
964d89e34b Add encoding validation option for Writer/PrettyWriter 2016-02-10 11:31:29 +08:00
Milo Yip
935e2ef7ed Merge pull request #510 from miloyip/issue509_writingnaninf
Fix #509 by checking Nan/Inf when writing a double
2016-02-09 18:12:17 +08:00
Milo Yip
f9d0f65ba0 Fix compilation 2016-02-09 17:39:46 +08:00
Milo Yip
ab250d21bc Rectify parsing error offsets 2016-02-09 17:33:49 +08:00
Milo Yip
3771188701 Merge pull request #532 from miloyip/issue529
Add optional unresolvedTokenIndex parameter to Pointer::Get()
2016-02-09 12:47:49 +08:00
Milo Yip
cec8dcbc7a Add optional unresolvedTokenIndex parameter to Pointer::Get() and related 2016-02-09 12:09:47 +08:00
Milo Yip
ef36794336 Merge pull request #531 from miloyip/jsonx
Add Jsonx example for converting JSON into JSONx (a XML format)
2016-02-09 01:28:39 +08:00
Milo Yip
5af344b9d9 Add comment for -D__STDC_FORMAT_MACROS 2016-02-09 01:27:22 +08:00
Milo Yip
e702d3dc70 Merge pull request #530 from miloyip/iostream
Add iostream wrapper
2016-02-09 01:21:20 +08:00
Milo Yip
b5d939b71b Fix a gcc warning 2016-02-09 01:09:43 +08:00