mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: So far, it has been harder than necessary to use Codable & ByteBuffer. These new APIs should simplify that and allow future optimisations. Modifications: Add new API to use `JSONEncoder` and `JSONDecoder` directly with `ByteBuffer`. Result: Easier Codable + ByteBuffer usage.