Skip to content

Support compact serialization of Link, deserialization #48

@xenoterracide

Description

@xenoterracide

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 and type, and imho only if the values aren't null, certainly the attached uriBuilder should not have been included in the json output.

"link":{"uri":"http://127.0.0.1:8080/NornLM/activities/d1039a2c-e939-4f84-a790-9d8304fe62d2","uriBuilder":{"host":"127.0.0.1","scheme":"http","port":8080,"userInfo":null,"path":"/NornLM/activities/d1039a2c-e939-4f84-a790-9d8304fe62d2","query":null,"fragment":null,"pathParamNamesInDeclarationOrder":[]},"rel":"item","rels":["item"],"title":null,"params":{"rel":"item"},"type":null}

migrated from jackson-core#135

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions