-
Notifications
You must be signed in to change notification settings - Fork 80
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
Support compact serialization of Link, deserialization #48
Comments
Hmmh. Not quite sure where/how to do this: this is a JAX-RS type, so core |
Another thing to note is that |
Ok. Since we are very close to 2.7 release, I will postpone this for Jackson 2.8, to allow for discussion on JAX-RS 2.0. I suspect upgrade is fine, but due to potential compatibility issues do not want to push this quite yet. I will actually add a skeletal version of datatype module, but will not connect it to be pushed as an artifact. |
Any news about this functionality? |
@Dichotomia I haven't had time to work on this, although I did add |
Datatype module added under <groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jaxrs</artifactId> and module class name Note that for now no attempt is made to auto-register since I don't trust I can ensure all It would also make sense to see what other JAX-RS 2 datatypes should be supported. |
Good job! |
serialization of a Link seems too detailed. I realize that I can write a customer serializer, but I think that the default should be simpler like the
uri
,rel
,title
andtype
, and imho only if the values aren't null, certainly the attacheduriBuilder
should not have been included in the json output.migrated from jackson-core#135
The text was updated successfully, but these errors were encountered: