It is recommended to use SmartCodable. None of this is a problem. Support type conversion and fault-tolerant processing. Even support inheritance