<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

DuplicatePropertyNameHandling

Specifies how duplicate property names are handled when loading JSON.
namespace Newtonsoft.Json.Linq { public enum DuplicatePropertyNameHandling { Replace, Ignore, Error } }