You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CsvObject(true)]
[Serializable]
public partial class MapData
{
public string Key;
public string Name;
public string BgColor;
public string FrameColor;
}
The text was updated successfully, but these errors were encountered:
次のようなcsvとクラス定義の状態でデシリアライズを行うと、keyAsPropertyName=trueでcsv側項目と名称が一致していても
実際の
Key
Value
がnull
となってしまいます。想定される結果は
Key=="FirstMapKey"
Value=="DebugRoom"
です。csv側に存在している
comment
version
の項目をクラス定義側に追加してデシリアライズした場合は、追加2項目と
Key
Value
それぞれ正しい値が格納されます。別の例として
下記のセットの場合、デシリアライズ結果は
Key=="DebugRoom"
Value=="Debug Room"
BgColor==null
FrameColor==null
となってしまうようです。The text was updated successfully, but these errors were encountered: