Michael Pasternak has posted comments on this change. Change subject: restapi: Add support for JAXB annotions in JSON ......................................................................
Patch Set 1: hi juan, > As you can see the elements have the same names used in the XML media. There > are still > some issues that we may want to address. For example, > in this output all the elements without value appear as '"something": null', > I am not sure if that is what we want. i guess it can be fixed with JsonSerialize.Inclusion, e.g objectMapper.setSerializationInclusion(JsonSerialize.Inclusion.NON_NULL); or objectMapper.configure(SerializationConfig.WRITE_NULL_PROPERTIES, false); > did you tried to deserialize from the json? thanks. -- To view, visit http://gerrit.ovirt.org/20093 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ica39bbedd427dbf2f298b1292fe9a14f3825d6e5 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: No _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches