You have a base type that you serialize/deserialize with JsonSerializer. You also use the JSON source generator. Now you add a new derived type from that base class and you mark the derived type as ...