# The future of serialization & deserialization APIs

**URL:** <https://forums.swift.org/t/the-future-of-serialization-deserialization-apis/78585>\
**Category:** Discussion\
**Tags:** foundation, codable, macros\
**Created:** [March 17, 2025, 8:25pm UTC](https://forums.swift.org/t/the-future-of-serialization-deserialization-apis/78585 "2025-03-17T20:25:29Z")\
**Posts on this page:** 1\
**Showing post:** 171

<div class="post-metadata">

**Author:** ![Nobody1707](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/nobody1707/32/2169_2.png) [@Nobody1707](https://forums.swift.org/u/Nobody1707)\
**Post date:** [November 7, 2025, 5:40pm UTC](https://forums.swift.org/t/the-future-of-serialization-deserialization-apis/78585/171 "2025-11-07T17:40:35Z")

</div>

There's an argument to be made that random number generators should have been `~Copyable` (or at least @noImplicitCopy), and many of those can be saved as and restored from seeds.

But at that point are we serializing the generator or it's seed?

---

_[View the full topic](https://forums.swift.org/t/the-future-of-serialization-deserialization-apis/78585)._
