Add Marshaller/Unmarshaller interface for working with custom types.
Created by: groob
Please add a interface similar to UnmarshallJSON and MarshallJSON. An interface would lend itself better to work with custom types. See this talk on JSON for usage: http://talks.golang.org/2015/json.slide#1 To give you a more concrete example, I would like to be able to do the following:
type Password string `plist:"pass"`
func(p *Password) MarshallPlist() ([]byte, error) {
// do something here
return
}