New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON factory method for `LookupResult` #4587

Merged
merged 1 commit into from Feb 15, 2018

Conversation

Projects
None yet
2 participants
@joschi
Contributor

joschi commented Feb 15, 2018

This commit adds a factory method to LookupResult which can be used by Jackson to
deserialize an instance of LookupResult from JSON.

Additionally, the derived field "empty" (via LookupResult#isEmpty()) is being ignored
and thus not part of the serialized or deserialized representation of LookupResult.

Refs #4534
Refs #4542
(cherry picked from commit d9f081a)

Add JSON factory method for `LookupResult`
This commit adds a factory method to `LookupResult` which can be used by Jackson to
deserialize an instance of `LookupResult` from JSON.

Additionally, the derived field "empty" (via `LookupResult#isEmpty()`) is being ignored
and thus not part of the serialized or deserialized representation of `LookupResult`.

Refs #4534
Refs #4542
(cherry picked from commit d9f081a)

@joschi joschi added this to the 2.4.4 milestone Feb 15, 2018

@bernd bernd self-assigned this Feb 15, 2018

@bernd

bernd approved these changes Feb 15, 2018

@bernd bernd merged commit c970118 into 2.4 Feb 15, 2018

4 of 5 checks passed

ci-web-linter Jenkins build graylog-pr-linter-check 2268 has failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
graylog-project/pr Jenkins build graylog-project-pr-snapshot 1020 has succeeded
Details
license/cla Contributor License Agreement is signed.
Details

@bernd bernd deleted the pr-4558-2.4 branch Feb 15, 2018

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