© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Handling `Uint8Array` Serialization in JSON for RPC - Effect Community
EC
Effect Community
•
12mo ago
spaethnl
Handling `Uint8Array` Serialization in JSON for RPC
Model.Uuidv4Insert
Model.Uuidv4Insert
has a
json.Encoded
json.Encoded
of
Uint8Array<ArrayBufferLike>
Uint8Array<ArrayBufferLike>
, but this gets serialized as an object so when used on a schema with rpc it can
't be decoded
.
What is the recommended way of handling this
? Should I make a new variant with a custom json encoding
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Handling Cookies in an RPC Handler
EC
Effect Community / 🚀-effect
2y ago
Handling BigInt Serialization Errors in DevTools Ndjson Calls
EC
Effect Community / 🚀-effect
2y ago
Suggestion for Improved Client JSON Handling
EC
Effect Community / 🚀-effect
3y ago
How to Explicitly Type `RpcClients` for an RPC Group in TypeScript?
EC
Effect Community / 🚀-effect
10mo ago