Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With Unity/IL2CPP stuff: For general-purpose serialization libraries like JSON, you sometimes need to provide hints to make sure types are included: https://github.com/jilleJr/Newtonsoft.Json-for-Unity/wiki/Fi...

For schema serialization on known types, there are codegen tools (i.e. moc for MessagePack): https://github.com/neuecc/MessagePack-CSharp

MessagePack is migrating to Rosalyn code generators, so basically invisible codegen. Cysharp's newer serialization library, MessagePack, already uses this: https://github.com/Cysharp/MemoryPack



memorypack looks interesting but the page omits a payload size comparison so who knows how good it really is




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: