MCPcopy Create free account
hub / github.com/golang/appengine / UnmarshalJSON

Method UnmarshalJSON

v2/internal/remote_api/remote_api.pb.go:98–105  ·  view source on GitHub ↗

Deprecated: Do not use.

(b []byte)

Source from the content-addressed store, hash-verified

96
97// Deprecated: Do not use.
98func (x *RpcError_ErrorCode) UnmarshalJSON(b []byte) error {
99 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
100 if err != nil {
101 return err
102 }
103 *x = RpcError_ErrorCode(num)
104 return nil
105}
106
107// Deprecated: Use RpcError_ErrorCode.Descriptor instead.
108func (RpcError_ErrorCode) EnumDescriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls 2

DescriptorMethod · 0.95
RpcError_ErrorCodeTypeAlias · 0.70

Tested by

no test coverage detected