polenter / SharpSerializer

SharpSerializer can serialize types like: multidimensional array, nested array, array-of-arrays, polymorphic object (where value is inherited from the property type), generic type, generic listing (i.e. dictionary, collection) and many more, with a single line of code

Home Page:https://www.sharpserializer.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Item of type FontFamily not correctly serialized.

Scheltens opened this issue · comments

Hi,

I tried to use your serializer on an object containing a property of type FontFamily. I got the following XML:

<Complex name="FontFamily">
  <Properties>
    <Simple name="Baseline" value="0.921630859375" />
    <Simple name="LineSpacing" value="1.14990234375" />
  </Properties>
</Complex>

Clearly some of its properties are not listed. Also:
I tried to make it ignore the property Transform,, but apparently that only works on properties of the serialized object, and not on sub properties.