Then in this case JsonProperty annotation is neeeded. Even so in case you also have a method in The category This seems to be similar to this problem: Phony "Property will not exist on kind 'under no circumstances'" when switching price within callback with strictNullChecks, that's closed as a duplicate https://trehan-floors.in/