Skip to content

Tag: serialization

Jackson Serialize Field to Different Name

I have this JSON to deserialize: I want to serialize it to 2 different formats: [A] [B] I’m able to serialize it to 1 format: [A] only or [B] only. Here’s my code to serialize it to [B]: I read about JsonView here http://www.baeldung.com/jackson-json-view-annotation (section ‘5. Customize JS…

Serialization – How to secure a serialized JAVA object?

How can I secure the serialized object if I send the serialized object over the network? I doubt that hackers may interrupt/hack my data. can anyone tell in detail about how to implement this? Answer This presentation give ideas on how effectively attackers can tamper a Java serialized stream: https://www.owa…