41 Commits

Author SHA1 Message Date
pcoates33
8ecfd8de08 Bael 2721 - JSON deserialization mapping different JSON fields to same Java field (#6434)
* BAEL-2721 Examples of @JsonAlias and Gson's alternate parameter

* BAEL-2721 Update class and method names for JsonAlias and GsonAlternate
2019-03-12 21:54:34 -07:00
Ganesh Pagade
ef94015a36 review comments 2019-03-10 11:24:33 +05:30
Ganesh Pagade
02fd91ad35 review comments 2019-03-09 14:59:08 +05:30
Ganesh Pagade
9c62f1ea0c minor change 2019-03-05 22:27:46 +05:30
Ganesh Pagade
c2cb4d4bc0 gson advanced list examples 2019-03-05 00:01:05 +05:30
dcalap
c2a300baae BAEL-2738 - Convert String to JsonObject with GSON (#6318)
* BAEL-2738 - Convert String to JsonObject with GSON

* BAEL-2738 Assertions added in example 2 (Using fromJson)

* Update gson/src/test/java/org/baeldung/gson/conversion/JsonObjectConversionsUnitTest.java

Rename test name

Co-Authored-By: dcalap <dcalap@gmail.com>

* Update gson/src/test/java/org/baeldung/gson/conversion/JsonObjectConversionsUnitTest.java

Rename test

Co-Authored-By: dcalap <dcalap@gmail.com>

* Blank spaces added in order to separate given/when/then parts of the test
2019-02-23 07:37:02 -06:00
Javier
4ea86703d4 BAEL-2412
Change method names to a BDD-style.
2018-12-18 05:27:49 +01:00
Javier
bdc8b066a5 BAEL-2412
Remove boolean and char fields from some of the examples.
2018-12-14 20:29:48 +01:00
Javier
78096d4712 BAEL-2412
Change test for min and max values by negative and positive infinity.
2018-12-14 20:21:50 +01:00
Javier
366cb9a0bc BAEL-2412
Add limit values when dealing with floats (min, max, NaN).
2018-12-12 06:41:39 +01:00
Javier
f69d154862 BAEL-2412
New example showing that the empty string can be deserialized into a char.
2018-12-12 06:30:01 +01:00
Javier
089162e91c BAEL-2412
Add new code examples when deserializing real numbers to discrete number types.
2018-12-12 06:12:12 +01:00
Javier
24bd4644ff BAEL-2412
Add example of deserialization of a double whose precission is too high.
2018-12-12 06:01:38 +01:00
Javier
bc1a22babc BAEL-2412
Remove custom serializer and deserializer for converting byte into a string of
bits.
2018-12-12 05:46:16 +01:00
Javier
e3b698620c BAEL-2412
Add tests with all the primitive values.
Remove those that weren't expected to work.
2018-12-07 23:53:46 +01:00
Javier
cdd6968c31 BAEL-2412
Changes PR.
2018-12-07 10:57:30 +01:00
Javier
19ed35aef4 BAEL-2412
Change name of a class.
Move class init code to tests.
Add solution to deserializing a boolean from an 2-value integer.
Change formatting for long sentences, mainly the serializers/deserializers.
2018-12-06 12:00:25 +01:00
Javier
4c0ce1d746 BAEL-2412
Replace main apps by unit tests.
2018-12-04 20:34:30 +01:00
Swapan Pramanick
586e911a02 BAEL-2176 (#5441)
* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* core-scala: initial commit

* adding core-scala to pom

* Revert "core-scala: initial commit"

This reverts commit d46873405a67addfaa69aa7855b37af9c4a3df14.

* BAEL-2176

* inserting new lines between given, when and then parts

* Formatted using formatter

* indentation changed further

* Suggested changes in coding

* Adding Date Deserializer

* BAEL-2176: Switching to functional paradigm

* BAEL-2176

* BAEL-2176: changing HashMap to Map

* BAEL-2176: changed exception type

* BAEL-2176
2018-10-31 08:17:17 -05:00
Swapan Pramanick
59a5313d96 Changes for BAEL-2176 (#5305)
* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* core-scala: initial commit

* adding core-scala to pom

* Revert "core-scala: initial commit"

This reverts commit d46873405a67addfaa69aa7855b37af9c4a3df14.

* BAEL-2176

* inserting new lines between given, when and then parts

* Formatted using formatter

* indentation changed further

* Suggested changes in coding
2018-10-01 21:28:53 -05:00
saikat
538d2a4ef1 Code sample for BAEL-2085 2018-08-18 14:40:54 +05:30
Andrea Ligios
a3563f0ef5 BAEL-1778 (#4351)
* Also needed

* BAEL-1698

* BAEL-1698

* BAEL-1778
2018-05-27 13:49:31 -07:00
Doha2012
48cd6f876f Fix test names (#1853)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom

* cleanup pom

* add missing parent

* fix logging issue

* fix test names
2017-05-15 11:35:14 -05:00
DOHA
fe2359144e fix timezone 2016-10-28 13:41:59 +02:00
Grzegorz Piwowarek
feb53db0e6 Fix formatting 2016-08-12 11:18:15 +02:00
Nancy Bosecker
31d9e1bef6 Added jackson/gson updates (#552) 2016-08-10 06:51:06 +02:00
DOHA
bb6166986e add some gson deserialization examples 2015-12-22 17:43:44 +02:00
eugenp
12b5d784e0 cleanup work 2014-10-21 12:42:40 +03:00
eugenp
6584041f8d date work for gson 2014-09-12 16:25:31 +03:00
eugenp
782216f214 gson cleanup 2014-09-11 21:34:40 +03:00
eugenp
2b879ce8c3 small testing cleaup 2014-09-11 18:42:37 +03:00
eugenp
ee27f3d75a small gson test changes 2014-09-11 18:41:00 +03:00
eugenp
42d17c1c4d gson cleanup work 2014-09-11 18:38:42 +03:00
eugenp
895e273ec5 gson cleanup 2014-09-08 20:59:31 +03:00
eugenp
eb3925fb0e gson work 2014-09-08 20:06:05 +03:00
eugenp
c9f92be3b1 gson work 2014-09-08 20:05:53 +03:00
eugenp
9254032a03 gson serialization work 2014-09-05 20:29:14 +03:00
eugenp
c00ef532c9 gson work 2014-08-23 13:26:09 +03:00
eugenp
2e48d26ff5 deserialization work 2014-08-23 12:50:27 +03:00
eugenp
ade4f14702 further gson testing work 2014-08-23 11:00:20 +03:00
eugenp
01625edeae initial gson project 2014-08-23 10:56:38 +03:00