Skip to content

use custom object mapper to serialize json in order to avoid null values#2106

Merged
fehguy merged 1 commit into
swagger-api:masterfrom
tobilarscheid:enhancement/use-custom-json-serialization
Feb 6, 2017
Merged

use custom object mapper to serialize json in order to avoid null values#2106
fehguy merged 1 commit into
swagger-api:masterfrom
tobilarscheid:enhancement/use-custom-json-serialization

Conversation

@tobilarscheid

@tobilarscheid tobilarscheid commented Feb 6, 2017

Copy link
Copy Markdown
Contributor

As discussed in #2105

I decided to let the JsonProcessingException just go all the way up, as this is closest to what would happen if a JsonProcessingException was thrown when Jackson tries to serialize the object.

@fehguy

fehguy commented Feb 6, 2017

Copy link
Copy Markdown
Contributor

LGTM

@fehguy fehguy merged commit 221c6c0 into swagger-api:master Feb 6, 2017
@tobilarscheid

Copy link
Copy Markdown
Contributor Author

Thank you! I will open a corresponding PR in the swagger-samples repo to update the example.

@tobilarscheid

Copy link
Copy Markdown
Contributor Author

swagger-api/swagger-samples#71 there it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants