Josn above employee name this row data much extendValue attribute, this property is Josn format, how to deserialize
CodePudding user response:
Is not a json as a whole? What's special?CodePudding user response:
Single number and working hour is only the pop3access.componenttype, label, the value of three attributes, the pop3access.componenttype employee name, label, value, extendValue four properties, is also the extendValue attribute the Josn format, if within the class defines extendValue this property, the transformation error when theCodePudding user response:
Defined as attribute collection, according to the pop3access.componenttype decision into which aOr is not defined, the series into a dynamic object
CodePudding user response:
According to the column of recycling and transformation can be, but is there a way to can ignore no extendValue attribute transformation is not an error?CodePudding user response:
There is a stupid way to not think don't abandon ha , to build a vm properties that are in the original plus a extendValue attribute, on the basis of this serialization is not an error! Another way is to JObject, from JObject values inside theCodePudding user response:
[JsonIgnore] on extendValue attributes