You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement custom serializers and deserializers for common types: Address, Bytes, Hash, Bloom, Long (hex), Int (hex), BigInteger (hex). Covering the low-level types with custom serializers will make it easier to implement the top-level ones, e.g. RPCTransaction. If the performance is not good enough with compiler-generated top-level type serializers, implement custom serializers also for them.
Module
Other
📝 Description
Migrate to kotlinx.serialization, which supports kotlin multiplatform.
Use
json-okio
module inHttpClient
to write content directly to request body. It might also make sense to consider implementing customJsonWriter
which supports serializing directly toByteArray
, instead of converting first toString
. See: https://github.com/Kotlin/kotlinx.serialization/blob/master/formats/json-okio/commonMain/src/kotlinx/serialization/json/okio/internal/OkioJsonStreams.kt#L37Implement custom serializers and deserializers for common types:
Address
,Bytes
,Hash
,Bloom
,Long (hex)
,Int (hex)
,BigInteger (hex)
. Covering the low-level types with custom serializers will make it easier to implement the top-level ones, e.g.RPCTransaction
. If the performance is not good enough with compiler-generated top-level type serializers, implement custom serializers also for them.Serializers: https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md
The text was updated successfully, but these errors were encountered: