Commit Graph

130 Commits

Author SHA1 Message Date
Mikhail Chugunov a094e49a62 BAEL-2475: Changes after first review 2019-01-09 19:53:12 +03:00
Mikhail Chugunov 2e436ce3e8 BAEL-2475: Rename tests 2019-01-02 19:14:09 +03:00
Mikhail Chugunov 66016332f8 BAEL-2475: Add sample code and tests 2019-01-02 19:09:00 +03:00
amit2103 7bc513561c [BAEL-10968] - Updated Jackson Dates article 2018-12-23 23:31:21 +05:30
fanatixan 12bf5e9f3b bael-2437 (#5972) 2018-12-22 09:13:09 -08:00
Felipe Santiago Corro 99d309b8c2 BAEL-2237 Using Jackson to parse XML and return JSON (#5478) 2018-10-17 10:29:47 -07:00
Felipe Santiago Corro f046857975 BAEL-2237 Using Jackson to parse XML and return JSON (#5401) 2018-10-07 23:36:38 -07:00
sachin fb0023286a BAEL-7674: Let's make sure our logging configuration has the same pattern 2018-08-21 18:22:53 -04:00
Nikhil Khatwani f17b02911b Changes for handling capitalised xml elements 2018-03-15 14:47:12 +05:30
chrisoberle f4c3469352 update test method names per BAEL-1187 (#2851)
* BAEL-1187 - Mapping Nested Values with Jackson

* minor naming and formatting changes to align with standards

* update formatting and jackson version

* update test method names
2017-10-23 18:55:12 -05:00
chrisoberle 3f6dcebdf9 BAEL-1187 - Mapping Nested Values with Jackson (#2750)
* BAEL-1187 - Mapping Nested Values with Jackson

* minor naming and formatting changes to align with standards

* update formatting and jackson version
2017-10-22 12:23:26 -05:00
eugenp 1cba1b043c minor formatting cleanup 2017-08-24 13:11:52 +03:00
Doha2012 a0198e143e upgrade jackson (#2465)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson
2017-08-20 08:17:05 +02:00
Nikhil Khatwani dc9ecc143d Added test cases for BAEL-897 (#2436) 2017-08-14 20:29:36 +02: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
Sunil Mogadati c5ddf680a7 BAEL-245: Issue 1753. Fix the typo - change from writeNumber() to writeString() (#1763)
* Add NDC and JBoss Logging to the demo application

* NDC for Log4j, Log4j2 and JBoss Logging

* Simplify NDC example by making it a single operation instead of two

* Make NDC example as RestController, Use JBoss Logging only as a logging bridge

* Fix merge conflicts in pull request - log-mdc pom.xml updated

* BAEL-445 Update to Spring security SpEL example

* BAEL-445: Change tabs to spaces in the updated code

* BAEL-245: Add Enum Serialization exmaple

* BAEL-245: Remove the folder jackson/src/test/java/com/baeldung/jackson/dtos/withEnum as the example is not used anymore

* Add more enum serialization examples to align with previous example and prevent build fail

* BAEL-611: Minor formatting changes

* BAEL-611: Update Test case method names

* BAEL-611 Add JAX-WS client and JUnit Test

* BAEL-245: Issue 1753. Fix the typo - change from writeNumber() to writeString()
2017-05-01 18:46:27 +02:00
Artem V. Navrotskiy 52d1fe174f Fix whenSerializingDateToISO8601_thenSerializedToText test. (#1593)
Suddenly,  "1970-01-01T02:30:00.000+0000" is not a correct ISO 8601 date: it mix basic timezone format and extended date and time format.
Correct value looks like:

 * 1970-01-01T02:30:00.000+00:00 (Extended format)
 * 19700101T023000.000+0000 (Basic format)
2017-04-23 13:31:12 +02: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
Nancy Bosecker 87be4ede27 Moved objectmapper to class level, one per class (#1558)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added

* remove explicit types from map instantion

* one objectmapper per class
2017-04-01 19:26:50 +02:00
Nancy Bosecker b63ef448db removed explicit types from map instantiation (#1532)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added

* remove explicit types from map instantion
2017-03-29 17:42:38 +02:00
Nancy Bosecker 361df07694 Added KeyDeserializer class and test code (#1523)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added
2017-03-28 20:18:00 -05:00
Nancy Bosecker 427077ebfa Jackson Map Serialize/Deserialize (#1511)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize
2017-03-27 07:46:58 -05:00
Tomasz Lelek b01c2c5a94 Bael 361 jackson streaming (#1459)
* BAEL-361 tests for Streaming API

* BAEL-361 do not use deprecated API

* BAEL-361 return to not read whole json document, only needed field
2017-03-23 13:46:32 +01:00
Andrew Morgan b5985a586c Tidied up tests 2017-02-11 18:47:27 +00:00
Luís Soares 7c07b93def Improve order of passing arguments in assert
Expected argument should come first.
2017-02-11 18:47:27 +00:00
Luís Soares bb6224d771 Make test pass in non-english computers where tests are run
The tested failed in my portuguese language OS because of:
Ter(ça) is Tue(sday)

Movie [imdbId=tt0472043, director=null, actors=[ActorJackson [imdbId=nm2199632, dateOfBirth=Ter set 21 11:00:00 GMT 1982, filmography=[Apocalypto, Beatdown, Wind Walkers]]]]
Movie [imdbId=tt0472043, director=null, actors=[ActorJackson [imdbId=nm2199632, dateOfBirth=Tue Sep 21 11:00:00 GMT 1982, filmography=[Apocalypto, Beatdown, Wind Walkers]]]]

Locale was enforced
2017-02-11 18:47:27 +00:00
Luís Soares ec2bfa7014 Test Serialize/Deserialize Optional with Jackson 2017-02-11 18:47:27 +00:00
Tomasz Lelek 1d71f63693 Bael 19 jackson inheritance (#954)
* BAEL-19 event inheritance

* BAEL-19 test for json inheritance

* BAEL-19 example event processor

* BAEL-19 do not need json ignore

* BAEL-19 simpler event, example of abstract

* BAEL-19 ignoring superclass property

* BAEL-586 change class event names
2017-01-19 08:48:48 +01:00
Sunil Mogadati aacc25a752 BAEL-245: Add more tests to align with previous enum example and prevent build fail (#981)
* Add NDC and JBoss Logging to the demo application

* NDC for Log4j, Log4j2 and JBoss Logging

* Simplify NDC example by making it a single operation instead of two

* Make NDC example as RestController, Use JBoss Logging only as a logging bridge

* Fix merge conflicts in pull request - log-mdc pom.xml updated

* BAEL-445 Update to Spring security SpEL example

* BAEL-445: Change tabs to spaces in the updated code

* BAEL-245: Add Enum Serialization exmaple

* BAEL-245: Remove the folder jackson/src/test/java/com/baeldung/jackson/dtos/withEnum as the example is not used anymore

* Add more enum serialization examples to align with previous example and prevent build fail
2017-01-10 01:51:36 -06:00
Sunil Mogadati 82fc8cf8fc BAEL-245: Add Enum serialization example (#970)
* Add NDC and JBoss Logging to the demo application

* NDC for Log4j, Log4j2 and JBoss Logging

* Simplify NDC example by making it a single operation instead of two

* Make NDC example as RestController, Use JBoss Logging only as a logging bridge

* Fix merge conflicts in pull request - log-mdc pom.xml updated

* BAEL-445 Update to Spring security SpEL example

* BAEL-445: Change tabs to spaces in the updated code

* BAEL-245: Add Enum Serialization exmaple

* BAEL-245: Remove the folder jackson/src/test/java/com/baeldung/jackson/dtos/withEnum as the example is not used anymore
2017-01-08 08:13:39 -06:00
pivovarit 6d72f54a53 Refactor JacksonAnnotationTest 2017-01-08 08:16:35 +01:00
pivovarit 3253a2510c Refactor JacksonAnnotationTest 2017-01-07 18:10:25 +01:00
pivovarit 11fb8debd6 Unify jackson package structure 2017-01-01 16:17:41 +01:00
pivovarit 5e60c50851 jackson-annotations -> jackson 2017-01-01 13:05:32 +01:00
DOHA 71e2350617 minor fix 2016-10-27 14:05:19 +02:00
DOHA 4906adb2ad minor fix 2016-10-26 15:07:34 +02:00
Grzegorz Piwowarek 0d2137f19e Remove unnecessary throws clauses 2016-08-12 11:18:47 +02:00
Grzegorz Piwowarek 8a104053d6 Refactor Jackson examples 2016-08-10 19:06:35 +02:00
Nancy Bosecker 31d9e1bef6 Added jackson/gson updates (#552) 2016-08-10 06:51:06 +02:00
DOHA ad14e7c262 use StdSerializer and StdDeserializer 2016-07-26 20:38:59 +02:00
DOHA cc8632120c using StdDeserializer 2016-07-25 13:54:30 +02:00
DOHA d848933f20 using StdSerializer 2016-07-25 13:54:30 +02:00
Slavisa Baeldung d577830362 BAEL-17 - reorganizing objectmapper tests 2016-07-18 13:16:52 +02:00
Slavisa Baeldung ffbd7f0d0d Merge remote-tracking branch 'origin/pr/498' into pr/498-ask-das-objectmapper
Conflicts:
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JavaToJsonExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonAdvancedCustomSerializeExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonAdvancedJsonNodeExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonArrayExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonDateExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonMapExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonParserExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonToJavaExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonToJsonNode.java
2016-07-18 12:25:34 +02:00
Ashanka Das eaa32bdb41 Refs #BAEL-17 : Test objectMapper. 2016-07-17 01:52:45 +02:00
Ashanka Das f14f2af421 Refs #BAEL-17 code for objectmapper. Added JUnit Test cases. 2016-07-17 01:19:44 +02:00
Slavisa Baeldung c44644b6d8 BAEL-17 - reformatting code 2016-07-14 14:57:59 +02:00
Ashanka Das 53c32286be Refs #BAEL-17 code for objectmapper. 2016-07-14 01:37:45 +02:00
DOHA da58ba479d upgrade jackson 2016-07-11 12:23:02 +02:00
Slavisa Avramovic 263d17142c xml-serialize-deserialize - minor changes 2016-05-22 11:45:07 +02:00