import "xorm.io/xorm/internal/json"
type JSONInterface interface { Marshal(v interface{}) ([]byte, error) Unmarshal(data []byte, v interface{}) error }
JSONInterface represents an interface to handle json data
var ( // DefaultJSONHandler default json handler DefaultJSONHandler JSONInterface = StdJSON{} )
type StdJSON struct{}
StdJSON implements JSONInterface via encoding/json
Marshal implements JSONInterface
Unmarshal implements JSONInterface
Package json imports 1 packages (graph) and is imported by 3 packages. Updated 2021-01-19. Refresh now. Tools for package owners.