Erik Arvidsson
c013f1ea1c
Go marshal ( #2374 )
...
Basic support for creating Noms value from Go values as well as reading
Noms values onto Go values.
Typical usage:
```
// Go to Noms
type T struct {
S string
N int32
}
nomsVal, err := marshal.Marshal(T{"Hi", 42})
// Noms to Go
var goVal T
err = marshal.Unmarshal(types.NewStruct("T", types.StructData{
"S": types.String("Bye"),
"N": types.Number(555),
}, &goVal)
```
Fixes #1591
2016-08-16 11:47:32 -07:00
..
2016-08-01 12:09:02 -04:00
2016-07-18 14:28:56 -07:00
2016-08-02 15:47:04 -07:00
2016-07-28 16:55:41 -07:00
2016-08-02 16:58:41 -07:00
2016-08-05 14:22:39 -07:00
2016-07-05 22:07:42 -07:00
2016-07-12 13:59:08 -07:00
2016-07-29 21:35:17 -07:00
2016-07-05 22:07:42 -07:00
2016-07-05 22:07:42 -07:00
2016-08-11 14:46:29 -07:00
2016-07-05 22:07:42 -07:00
2016-07-05 22:07:42 -07:00
2016-08-02 13:31:19 -07:00
2016-08-02 13:31:19 -07:00
2016-08-05 11:45:29 -07:00
2016-07-28 16:58:33 -07:00
2016-07-12 13:59:08 -07:00
2016-07-05 22:07:42 -07:00
2016-07-05 22:07:42 -07:00
2016-07-29 13:22:39 -07:00
2016-07-28 16:55:41 -07:00
2016-07-05 22:07:42 -07:00
2016-07-28 16:55:41 -07:00
2016-08-05 14:22:39 -07:00
2016-08-05 14:22:39 -07:00
2016-07-05 22:07:42 -07:00
2016-08-11 16:29:53 -07:00
2016-08-11 16:29:53 -07:00
2016-08-11 14:46:29 -07:00
2016-07-28 16:55:41 -07:00
2016-07-05 22:07:42 -07:00
2016-08-05 11:45:29 -07:00
2016-07-05 22:07:42 -07:00
2016-08-11 14:46:29 -07:00
2016-08-11 14:46:29 -07:00
2016-08-11 14:46:29 -07:00
2016-08-11 16:29:53 -07:00
2016-07-28 14:57:31 -07:00
2016-07-28 16:44:49 -07:00
2016-08-09 17:12:08 -07:00
2016-08-09 17:12:08 -07:00
2016-07-05 22:07:42 -07:00
2016-08-01 11:28:29 -07:00
2016-08-01 11:28:29 -07:00
2016-07-05 22:07:42 -07:00
2016-07-28 16:58:33 -07:00
2016-08-02 16:58:41 -07:00
2016-07-05 22:07:42 -07:00
2016-08-05 14:22:39 -07:00
2016-07-21 14:51:32 -07:00
2016-07-21 14:51:32 -07:00
2016-07-05 22:07:42 -07:00
2016-07-05 22:07:42 -07:00
2016-08-11 14:46:29 -07:00
2016-08-11 14:46:29 -07:00
2016-08-11 14:46:29 -07:00
2016-07-05 22:07:42 -07:00
2016-07-05 22:07:42 -07:00
2016-08-04 16:11:11 -07:00
2016-08-04 16:11:11 -07:00
2016-07-29 21:35:17 -07:00
2016-07-29 21:35:17 -07:00
2016-07-29 21:35:17 -07:00
2016-07-29 21:35:17 -07:00
2016-08-16 11:47:32 -07:00
2016-08-11 16:29:53 -07:00
2016-07-05 22:07:42 -07:00
2016-07-30 11:21:04 -07:00
2016-07-26 15:31:43 -07:00
2016-08-01 12:09:02 -04:00
2016-08-11 14:46:29 -07:00
2016-07-05 22:07:42 -07:00
2016-08-05 11:45:29 -07:00