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
I'm sorry if this is already supported, but I couldn't see that from the docs.
Essentially, I want to code some arbitrary data to a transit map, without writing an encoder for it.
type Person struct {
Name string
Age int
}
encoded, err := transit.Marshall(&{"Robin", 28})
encoded == "["^ ","Name","Robin","Age",28]"
person := &Person{}
transit.Unmarshall(encoded, &person)
The text was updated successfully, but these errors were encountered:
I'm sorry if this is already supported, but I couldn't see that from the docs.
Essentially, I want to code some arbitrary data to a transit map, without writing an encoder for it.
The text was updated successfully, but these errors were encountered: