51 Commits

Author SHA1 Message Date
unknown
956f38574a optimize order preservation (keep pointers to keys instead of copies); remove (unnecessary) prserveOrder flag from Stringifier::stringify() 2015-06-01 10:29:51 -05:00
albert.j.cross@gmail.com
fffb6bc7a0 Poco::JSON::PrintHandler not working for nested arrays #782 2015-04-20 23:13:49 +02:00
Alex Fabijanic
bfe16d25a2 Poco::JSON::PrintHandler not working for objects in array #766 2015-03-31 21:43:21 -05:00
Alex Fabijanic
102413aed5 clang build fixes 2014-10-11 18:48:00 -05:00
Alex Fabijanic
ff07ee1c6e an attempt to reproduce GH #491 2014-10-11 18:25:32 -05:00
Guenter Obiltschnig
3f5e9bd247 fixed testsuite 2014-07-16 16:14:41 +02:00
Alex Fabijanic
32d4c1eb07 GH #482: Poco::JSON::Stringifier::stringify bad behaviour 2014-07-10 21:00:59 -05:00
Alex Fabijanic
5cd3e842e8 added '/' to the characters escaped in JSON 2014-05-28 21:05:30 -05:00
Alex Fabijanic
b2eb4fda59 GH #176: Poco::JSON::Stringifier UTF encoding 2014-05-27 22:23:10 -05:00
Kontinuation
de0147fbf0 added test case for the newly added JSON::Array::set function 2014-05-23 21:56:00 +08:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Alex Fabijanic
4d366250e1 fixed GH #410: Bug in JSON::Object.stringify() in 1.5.2 2014-04-28 21:43:57 -05:00
Aleksandar Fabijanic
154c6969c2 GH# 267: JSON 'find' not returning empty result if object is expected but another value is found
GH# 267: JSON 'find' not returning empty result if object is expected
but another value is found
2013-09-14 22:33:41 -05:00
Rangel Reale
29885348ba * Method to get JSON object value using Poco::Nullable 2013-08-21 10:34:21 -03:00
Aleksandar Fabijanic
20e1cf8821 JSON bug fixes
GH #241: SF #620 Endless loop in JSON parser (added Buffer::setCapacity)
GH #242: SF #619 Syntax error in JSON parser (float/double trim)
2013-07-21 22:18:56 -05:00
Alex
20005dbf87 fix signed/unsigned warnings 2013-06-16 11:37:37 -05:00
Aleksandar Fabijanic
b61b5ae53d limit allowed types for JSON Query
limited allowed types for JSON::Query to Object, Array, Object::Ptr,
Array::Ptr and empty
2013-06-07 23:37:02 -05:00
Aleksandar Fabijanic
5e6ef1c14d fixed GH #99: JSON::Query an JSON::Object
- fixed GH #99: JSON::Query an JSON::Object
- swapped order of AnyCast(const Any&) and AnyCast(Any&) definitions
2013-06-07 23:15:02 -05:00
Aleksandar Fabijanic
f96c45bf72 comment unsigned 64 bit -1 JSON test (clang fail) 2013-05-27 21:33:30 -05:00
Aleksandar Fabijanic
38131d452d Var/JSON changes
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Aleksandar Fabijanic
41a07c15bf JSON fixes/refactoring 2013-05-20 23:36:58 -05:00
fbraem
87d955ecde Integrate Poco::Web::JSON parser 2013-05-20 20:37:13 +02:00
Aleksandar Fabijanic
579842bce4 handler reference counting
- handler reference counting
- parser returns parsing result
2013-03-24 17:32:57 -05:00
aleks-f
ab952e689d few JSON fixes and tests 2013-03-18 20:59:29 -05:00
aleks-f
42ff341cb9 GH #119: JSON::Object holds values in ordered map
- fixed GH #119: JSON::Object holds values in ordered map
- added PrintHandler
- renamed DefaultHandler to ParseHandler
- redefined DefaultHandler as typedef to ParseHandler
2013-03-16 11:33:27 -05:00
aleks-f
727e3cd28d GH #118: JSON::Object::stringify endless loop 2013-03-06 21:21:58 -06:00
Mike Naquin
13a1a0b9a2 Fix JSON parsing of large unsigned 64-bit integers 2013-02-21 12:57:51 -06:00
aleks-f
66a56a944f indentation 2013-02-20 17:08:44 -06:00
fbraem
5964ae0a80 JSON unicode fixes and running tests on invalid unicode JSON 2013-01-04 17:09:04 +01:00
Alex
26a480d325 Revert "Revert "Revert "Merge pull request #45 from RangelReale/jsonunicode"""
This reverts commit 86647bd8ba2862774e2dee249f748b193bcc632a.
2012-12-30 09:37:52 -06:00
Alex
86647bd8ba Revert "Revert "Merge pull request #45 from RangelReale/jsonunicode""
This reverts commit 52867ed7c7b8991d5a31d3e7a3c2505449a0b86e.
2012-12-29 07:32:21 -06:00
Alex
52867ed7c7 Revert "Merge pull request #45 from RangelReale/jsonunicode"
This reverts commit dcf92dcfe31611ee446b010458dadf91befee9d8, reversing
changes made to 79838aa76dacf80dee1735f72ff7f6a846787557.
2012-12-29 07:32:09 -06:00
Rangel Reale
92ba6563f0 * Added unit test to JSON unicode change 2012-12-28 21:19:53 -02:00
aleks-f
4a5cb5031b fixed resolution fo Int64 2012-12-14 14:03:14 -06:00
Mike Naquin
25811d4c64 Add 64-bit integer JSON unit test 2012-12-13 09:38:24 -06:00
aleks-f
1b14088283 GH31: JSON implementation bug
fixed GH #31: JSON implementation bug
2012-12-11 20:27:47 -06:00
aleks-f
42d963a7d5 GH 23: JSON::Object::stringify throw BadCastException
GH issue #23 : JSON::Object::stringify throw BadCastException
2012-12-02 22:12:06 -06:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
2eb27b30b5 fixed JSON testsuite errors and warnings with VS2012 2012-10-14 15:51:23 +00:00
Aleksandar Fabijanic
f70ac1ca07 - added NumericString.h
- NumberParser improvements (internal Poco locale-awareness and parsing)
2012-09-30 05:17:56 +00:00
Guenter Obiltschnig
244f0aaf5a fixed a typo 2012-09-25 04:24:25 +00:00
Guenter Obiltschnig
c7de652ec9 renamed dir testfiles to data 2012-09-25 04:22:57 +00:00
Aleksandar Fabijanic
d8397b9153 - VS2012: build/tests
- JSON: style and exceptions catch by ref fix
- NumberParser: case-insensitive hex parsing
- Dynamic::Var: const std::string& cast operator specialization (coaxing std::string ctor)
- LocalDateTime: strftime fix (buffer too small for full tz string, use %Z instead of %z - makes no difference on windows but is more portable)
- small buildwin.cmd vsvars32.bat call fix
2012-09-24 03:51:40 +00:00
Franky Braem
1d674b745e Continue processing invalid files when we got an exception and show the value when we didn't expect a value 2012-06-11 20:31:36 +00:00
Aleksandar Fabijanic
9b952a29c7 ported 1.4.4 branch changes (needs build checks and test runs!) 2012-05-19 03:04:51 +00:00
Franky Braem
425587f499 Catch Poco::SyntaxException for invalid JSON values 2012-05-15 20:52:32 +00:00
Franky Braem
5c8e55cd34 Remove testConfiguration and testItunes method. testConfiguration will be moved to Util testsuite 2012-05-15 19:35:41 +00:00
Aleksandar Fabijanic
7503c00b8b test files directory detection fix 2012-05-15 02:16:37 +00:00
Aleksandar Fabijanic
3a46515ded JSON VS 2010 build (library and tests) 2012-05-15 01:54:26 +00:00