Skip to content

Conversation

@hansbarnard
Copy link

I added support for Jackson annotations:

  • for controlling visibility of fields/methods
  • adhering to @JsonIgnore
  • adhering to the JSON property name as specified in @JsonProperty("my_property")
  • adhering to @JsonAutoDetect

A runtime arg will determine whether JAXB (default) or Jackson is used.
Field/getter visibility rules and name resolution is entirely delegated to the Jackson library.

I also fixed an issue with one of the existing tests. Although the test appears to work by itself it leaves the JobRegistry.INSTANCE value as a mocked instance. This breaks a subsequent test but only if the other test is run after this test. In other words you might not always see the test failing. For example in Eclipse it worked fine but from commandline it failed for me.

@sdaschner
Copy link
Owner

Cool! Will check asap.

We should also think about supporting JSON-B (Java EE 8).

@rmannibucau
Copy link
Contributor

+1 for that and to support JSON-B

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.

3 participants