func FromJSON(paramsJSON string) (backend.Backend, error) {
	cfg := Config{}
	err := json.Unmarshal([]byte(paramsJSON), &cfg)
	if err != nil {
		return nil, trace.Wrap(err)
	}
	return New(cfg)
}
// FromJSON returns backend initialized from JSON-encoded string
FromJSON returns backend initialized from JSON-encoded string
// FromJSON returns backend initialized from JSON - encoded string
func FromJSON(paramsJSON string) (backend.Backend, error) {
	cfg := Config{}
	err := json.Unmarshal([]byte(paramsJSON), &cfg)
	if err != nil {
		return nil, trace.Wrap(err)
	}
	return New(cfg)
}
func FromJSON ( paramsJSON string ) ( backend . Backend , error ) { cfg := Config { } err := json . Unmarshal ( [ ] byte ( paramsJSON ) , & cfg ) if err != nil { return nil , trace . Wrap ( err ) } return New ( cfg ) }
FromJSON returns backend initialized from JSON-encoded string
FromJSON returns backend initialized from JSON - encoded string