11 SCOPE_INVALID = JobScope(iota)
18 func (js JobScope) String() (strout string) {
30 func (js JobScope) MarshalJSON() (out []byte, err os.Error) {
33 return json.Marshal(strout)
35 return nil, InvalidValueError
38 func (js *JobScope) UnmarshalJSON(in []byte) (err os.Error) {
40 err = json.Unmarshal(in, &scopestr)
50 return InvalidValueError