Сериализация в Unity: известные атрибуты и их проблемы

Любой Unity-разработчик знаком с атрибутом [SerializeField] , который позволяет сериализовывать непубличные члены класса и, соответственно, отображать их в инспекторе. Но, в силу его ограниченности, позже начали появляться и другие способы сериализации. Попробую кратко рассказать, какие альтернативы используются, зачем все они нужны, как работают и, о чём не любят писать в кликбейтных постах, какие подводные камни могут скрывать.

https://habr.com/ru/articles/920398/

#unity #gamedev #геймдев #игровая_разработка #сериализация #данные #ассеты #serialization #SerializeField #serializereference

Сериализация в Unity: известные атрибуты и их проблемы

Любой Unity-разработчик знаком с атрибутом [SerializeField] , который позволяет сериализовывать непубличные члены класса и, соответственно, отображать их в инспекторе. Но, в силу его ограниченности,...

Хабр
Apache Fury (incubating) | Apache Fury (incubating)

A blazing-fast cross-language serialization framework powered by just-in-time compilation and zero-copy

Seems a first step is almost done, adding #JSON support to my #poser lib. This could be the foundation for #JWT support in #swad. 😎

Need to do more thorough testing I guess, but at least the two example documents from #rfc8259 work fine ... the test tool does a full #deserialization / #serialization roundtrip (with specific internal representations of the data types supported by JSON).

edit: Look at the "Longitude" value of the second object in the second example 😏 I only noticed myself right now, but of course that's the desired behavior.

🤦‍♂️ Someone thought it was a good idea to mix Rust's crusty rigor with Python's whimsical magic, using #Serde as the glue. Because nothing screams 'user-friendly' like making #Rust dance to Python's tune through a #serialization library! 🎻✨
https://ohadravid.github.io/posts/2025-05-serde-reflect/ #Python #programming #userfriendly #HackerNews #ngated
A Rust API Inspired by Python, Powered by Serde

Years ago, I worked on reimplementing some Python code in Rust and needed to adapt Python’s dynamic reflection capabilities (aka __getattr__) to the strict and …

The grumpy serialisation format

Every few years we reinvent data serialisation. CDR (CORBA) replaced EDI, and was replaced by XML, and now, clearly JSON is the solution, while ASN.1 still lurks in the shadows. And then it stuck m…

Thias の blog

Kotlinx.serialization 1.8.1 is here! 🚀 This update brings improved Protobuf support, better handling of nullable types, and key bug fixes.

#AndroidDev #Android #Kotlin #Serialization

🔗 Release notes
https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.8.1

Release 1.8.1 · Kotlin/kotlinx.serialization

This release updates Kotlin version to 2.1.20, while also providing several important improvements and bugfixes. Improvements Implemented encoding null in key and value of a map in Protobuf (#2910...

GitHub

Msgpack23 – A modern, header-only C++ library for MessagePack (de)serialization

https://github.com/rwindegger/msgpack23

#HackerNews #Msgpack23 #MessagePack #C++ #Serialization #HeaderOnlyLibrary

GitHub - rwindegger/msgpack23: A modern, header-only C++ library for MessagePack serialization and deserialization. msgpack.org[c++23]

A modern, header-only C++ library for MessagePack serialization and deserialization. msgpack.org[c++23] - rwindegger/msgpack23

GitHub

Hexi, modern header-only network binary serialisation for C++ hackers

https://github.com/EmberEmu/Hexi

#HackerNews #Hexi #C++ #Serialization #Network #Binary #HackerNews #EmberEmu

GitHub - EmberEmu/Hexi: Header-only, lightweight C++ library for binary streaming. Network data handling made easy peasy!

Header-only, lightweight C++ library for binary streaming. Network data handling made easy peasy! - EmberEmu/Hexi

GitHub
StrictYAML - HitchDev

A numeric field in a web API request can be changed to a string without breaking existing REST clients

https://www.damirscorner.com/blog/posts/20250228-ApiCompatibleDataTypeChange.html

#serialization #aspnetcore #dotnet

API-compatible data type change

A recent business requirement demanded an unexpected change to a web API endpoint. A numeric field in the request body had to accept a set of predefined string values in addition to numeric values. I managed to implement it in a way which wasn't a breaking change for the existing clients of this endpoint.