Decoding and Encoding Data Structures with @effect/schema
Hi, is it possible to decode an unknown info a different structure? For example, I am getting some data in the form
I want to decode this in such a way that
And possible encode back to the original format to send to server. Can I achieve this through @effect/schema?
I want to decode this in such a way that
And possible encode back to the original format to send to server. Can I achieve this through @effect/schema?
