Hello, I'm trying to parsing the Unity Scene file using this library.
left is the original Image and right side is the deserialized and serialized by the library
As you can see in the above image, fileID is long type as I believe, but the deserializer make it as double type.
fileID was 1058064039477804610 but changed to 1.0580640394778E+18.
So when I serialize it again, the scene file would be corrupted due to those issue. Could you fix it? Thank you so much.
I used this library like below code
var memory = new ReadOnlyMemory<byte>(Encoding.UTF8.GetBytes(sceneString));
var collection = YamlSerializer.DeserializeMultipleDocuments<dynamic>(memory).ToList();
...
would it be possible to customize deserialize only for the type IYamlFormatter<KeyValuePair<TKey, TValue>> when TKey is string and it is fileID ?
Hello, I'm trying to parsing the Unity Scene file using this library.
left is the original Image and right side is the deserialized and serialized by the library
As you can see in the above image,
fileID
is long type as I believe, but the deserializer make it as double type. fileID was1058064039477804610
but changed to1.0580640394778E+18
.So when I serialize it again, the scene file would be corrupted due to those issue. Could you fix it? Thank you so much.
I used this library like below code
would it be possible to customize deserialize only for the type
IYamlFormatter<KeyValuePair<TKey, TValue>>
when TKey is string and it isfileID
?