Commit Graph

45 Commits

Author SHA1 Message Date
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
Javier 44e5a0b6a2 BAEL-2412
Renaming packages.
2018-12-04 06:46:41 +01:00
Javier f2d258a205 BAEL-2412
Working with primitive values in Gson.
2018-12-03 21:53:58 +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 d46873405a.

* 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 d46873405a.

* 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
sachin fb0023286a BAEL-7674: Let's make sure our logging configuration has the same pattern 2018-08-21 18:22:53 -04: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
Doha2012 7525544e09 use standard logback.xml (#1666)
* 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
2017-04-17 18:41:23 +02: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
Grzegorz Piwowarek fa6f482f2a Refactor Gson examples 2016-08-10 18:56:51 +02:00
Grzegorz Piwowarek a0b086c4c3 Refactor ActorGson 2016-08-10 18:54:56 +02:00
Nancy Bosecker 31d9e1bef6 Added jackson/gson updates (#552) 2016-08-10 06:51:06 +02:00
eugenp e7dd890661 removing sandbox, maven upgrades, eclipse cleanup 2016-03-06 11:37:48 +02:00
DOHA bb6166986e add some gson deserialization examples 2015-12-22 17:43:44 +02:00
eugenp a1e7be16b8 formatting cleanup 2015-07-23 16:54:23 +03:00
eugenp 12b5d784e0 cleanup work 2014-10-21 12:42:40 +03:00
eugenp 1e36d212d1 spring updates 2014-09-15 14:26:17 +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