0

I have question about custom json serialisation with jackson. I know about the Custom Serializers, but I want to ask if there is an existing Serializer for solving my problem. The JSON I want to create looks like this.

{
"propertiesObject" : {
"properties":[
      {
         "key":"key",
         "value":"Array[value]"
      }
     ...

The Java Class would look like this example

public class Item {
    String key= "value";

As I mentioned before, I know about the Custom Serializer Implementation, would solve the problem, but do you know an Jackson Seriliser, which does this kind of Serialisation.

Jason Aller
  • 3,541
  • 28
  • 38
  • 38

0 Answers0