Java - Serialize Abstract Class using Jackson

后端 未结 0 1695
野性不改
野性不改 2021-01-29 06:37

I have two Java classes that I want to serialize to Json.

@JsonRootName(value = "ani")
public abstract class Animal {

private final String eat;

public         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题