StoreJSON stores struct fields to json document.
(target interface{}, m map[string]interface{}, options StoreOptions)
| 33 | |
| 34 | // StoreJSON stores struct fields to json document. |
| 35 | func StoreJSON(target interface{}, m map[string]interface{}, options StoreOptions) error { |
| 36 | soft := NewSoftJSON(m) |
| 37 | return Store(target, soft, options) |
| 38 | } |