Commit Graph

61 Commits

Author SHA1 Message Date
Guenter Obiltschnig
7f9dff45c0 remove unneeded #include 2015-09-30 10:32:33 +02:00
Aleksandar Fabijanic
32956fe044 Change in JSON::Object::set(key,value) behavior in 1.6.1 #933
fix according to [suggestion](fee347ec6a (commitcomment-13196733))
2015-09-12 13:17:01 -05:00
Aleksandar Fabijanic
fee347ec6a Change in JSON::Object::set(key,value) behavior in 1.6.1 #933 2015-09-10 22:12:34 -05:00
Guenter Obiltschnig
7a6f54e0f0 fix for NumberParser changes 2015-09-09 14:26:26 +02:00
Alex Fabijanic
08a85e84a4 stringify method output wrong json string #891 2015-07-30 20:49:54 -05:00
Aleksandar Fabijanic
86a33e9b75 style fixes 2015-06-09 23:04:48 -05:00
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
unknown
4ac92e5cb2 JSON Stringifier fails with preserve insert order #819 2015-06-01 09:28:00 -05:00
Aleksandar Fabijanic
45ab455174 JSON Stringifier fails with preserve insert order #819 2015-05-14 22:10:45 -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
beb81b4f16 add JSONFormatter 2015-02-10 00:27:07 -06:00
Guenter Obiltschnig
f2512856ee added Var::isBoolean() and fixed JSON stringifier 2014-09-18 20:57:34 +02:00
rafzi
a787b4f898 fix JSON stringify to escape special characters
When converting from non string types the converted string was not escaped
2014-09-06 19:42:06 +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
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
6ec4986fb1 GH #379: Remove unnecessary null pointer checks 2014-04-29 22:26:30 -05:00
Alex Fabijanic
8a9e7792d9 - fixed GH #362: Defect in Var::parseString when there is no space between value and newline
- fixed GH #314: JSON parsing bug
- added GH #313: MetaColumn additions for Data::ODBC and Data::SQLite
2014-04-29 21:25:30 -05: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
1cd745996c Merge pull request #315 from fbraem/develop
Solve wrong escaping of unicode characters
2014-03-11 20:29:18 -05:00
Patrick White
69f7cb9846 Fix warnings in headers because application/user settings control what warnings are seen when compiling against poco 2014-01-23 16:22:38 -05:00
fbraem
1cb2823d22 Solve wrong escaping of unicode characters 2013-10-24 17:03:43 +02: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
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
Aleksandar Fabijanic
923eb91bb8 mainly JSON tidy-up 2013-06-15 20:28:09 -05:00
alex
61b8cb57f7 Solaris build 2012-08-18 02:54:54 -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
168090324a improveJSON parser perfromance
- unified string/stream algorithm
- templated Source class
- use char_traits integer type and conversion function for char
extraction
2013-06-01 16:01:46 -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
Alex
1a474584c3 mac/clang build fixes 2013-03-17 12:41:15 -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
aleks-f
8a44e75187 purely cosmetics 2013-01-04 21:51:26 -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 86647bd8ba.
2012-12-30 09:37:52 -06:00
Alex
86647bd8ba Revert "Revert "Merge pull request #45 from RangelReale/jsonunicode""
This reverts commit 52867ed7c7.
2012-12-29 07:32:21 -06:00
Alex
52867ed7c7 Revert "Merge pull request #45 from RangelReale/jsonunicode"
This reverts commit dcf92dcfe3, reversing
changes made to 79838aa76d.
2012-12-29 07:32:09 -06:00
Rangel Reale
3a2116233b * Fix JSON unicode handling (see http://pocoproject.org/forum/viewtopic.php?f=10&t=5686) 2012-12-28 11:55:12 -02:00
aleks-f
e75081af94 added Token::asInteger64(); ODBC tests fix for case-sensitive DB 2012-12-16 19:45:38 -06:00
Mike Naquin
d5858c15d4 Update JSON parser to correctly handle 64-bit integers 2012-12-13 09:39:50 -06:00