Günter Obiltschnig
15ad5c250e
#3114 : Added JSON Array::empty() method
2021-04-12 20:33:11 +02:00
Günter Obiltschnig
7e9d10f488
#3076 : Avoid access to already freed memory in JSON code
2021-04-11 16:37:16 +02:00
Günter Obiltschnig
64101df736
remove unnecessary space in JSON object serialization
2020-07-29 09:00:49 +02:00
Günter Obiltschnig
18adb1e43b
code cleanup; fix move ctors and assignment
2020-01-21 17:52:43 +01:00
Günter Obiltschnig
1bf40a0cd2
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
2020-01-09 10:08:09 +01:00
Aleksandar Fabijanic
231ef2762d
Preserve entries order in DynamicStruct #2410 ( #2413 )
...
* Preserve entries order in DynamicStruct #2410
* disable C++11 default
* ifdef C++11 code
2018-08-01 08:06:59 -07:00
Alex Fabijanic
f06580611f
Stringify escapes every unicode symbol when object contain an array #2364
2018-06-12 10:17:08 -05:00
Günter Obiltschnig
5a1bf5eb4a
fixed GH #2249 : Poco::JSON::Object::set() should return reference to this to allow chaining
2018-03-27 11:47:05 +02:00
Günter Obiltschnig
7eb1325bba
style fixes
2018-03-05 15:05:04 +01:00
Conor Burgess
bdd0478ead
Fix nullptr deref in Poco::JSON::Object ( #2150 )
2018-02-09 10:18:23 -06:00
Alex Fabijanic
fc47df04cd
#2142 #2137 cherry pick 3
2018-02-08 20:01:36 -06:00
Aleksandar Fabijanic
fbd229ee4a
#2142 #2137 cherry pick 2
2018-02-08 19:45:37 -06:00
Aleksandar Fabijanic
bd81aec779
#2142 #2137 cherry pick 1
2018-02-08 19:41:44 -06:00
Alex Fabijanic
e8be21dc66
Poco1.8.1 compilation error for C++98 mode #2121
2018-01-31 18:32:15 -06:00
Günter Obiltschnig
6774b5deb6
merge JSON fix from develop
2018-01-02 12:12:59 +01:00
Guenter Obiltschnig
d172273a75
remove remaining $Id$ tags from file headers
2017-10-31 16:01:51 +01:00
Alex Fabijanic
7943d95b31
pd_json.h is missing when installed via CMake in 1.8.0 #1923
2017-10-06 09:22:55 -05:00
Alex Fabijanic
6efab2cd58
back-port JSON and accompanying Foundation portions (JSONString, Dynamic::Var etc)
2017-09-25 15:15:05 -05:00
Guenter Obiltschnig
bd82bb1306
minor improvements to documentation and style
2017-02-13 22:33:48 +01:00
Guenter Obiltschnig
08e4f6af17
doc fixes
2016-08-28 17:17:56 +02:00
Günter Obiltschnig
f9f4c54bc3
fixed GH #1355 : [JSON::Object] After copy-ctor, JSON::Object::_keys still points to keys in map of copied object
2016-08-27 10:54:35 +02:00
Guenter Obiltschnig
87f0bac343
fix for VS2008
2015-08-03 07:33:37 +02:00
Alex Fabijanic
5a5509a3e3
fixed GH #782 and #819
2015-06-09 22:41:38 -05:00
Alex Fabijanic
fea66f4dbc
Poco::JSON::PrintHandler not working for objects in array #766
2015-03-31 21:35:34 -05:00
Alex Fabijanic
b2eb4fda59
GH #176 : Poco::JSON::Stringifier UTF encoding
2014-05-27 22:23:10 -05:00
Kontinuation
1b5f9cb079
style fixes
2014-05-23 02:38:57 +08:00
Kontinuation
3880f76d82
fixed array element updating problem in JSONConfiguration
2014-05-23 02:22:06 +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
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
Rangel Reale
29885348ba
* Method to get JSON object value using Poco::Nullable
2013-08-21 10:34:21 -03:00
Günter Obiltschnig
c7f873eee8
added missing x64_vs90 project files, fixed Util x64 project files, fixed some warnings
2013-07-22 20:44:35 +02: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
3ba7cc27a9
JSON Parser comment update
2013-06-09 22:56:53 -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
alex
83ad8b36f5
fixed GH #138 : FreeBSD JSON tests fail
2013-06-02 23:36:36 -05:00
Aleksandar Fabijanic
d8de7489d5
clang compile
2013-06-01 16:30: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
0d79572848
Removed DefaultHandler typedef
...
Removed DefaultHandler typedef. JSON::Parser is now default constructed
with built-in parsing handler (i.e. without requirement that user
explicitly provides handler). Handler is now a SharedPtr so old code
with handler on the stack would cause undefined behavior, hence best to
break it now in development release ... apologies to anyone affected.
2013-03-28 22:18:57 -05:00
Aleksandar Fabijanic
579842bce4
handler reference counting
...
- handler reference counting
- parser returns parsing result
2013-03-24 17:32:57 -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