Coverage Summary for Class: PolymorphicSerialization (dev.suresh.jackson)

Class Class, % Method, % Branch, % Line, % Instruction, %
PolymorphicSerialization 0% (0/1) 0% (0/2) 0% (0/5) 0% (0/19)


 package dev.suresh.jackson;
 
 import java.util.List;
 
 // https://www.mkammerer.de/blog/jacksons-polymorphic-deserialization/
 public class PolymorphicSerialization {
 
   void main() {
 
     var cat = new Cat("The cat");
     var dog = new Dog("The dog");
     var animals = List.of(cat, dog);
 
     System.out.println(animals);
 
     // new ObjectMapper().
 
   }
 }