Index: appengine/ephelper/epfrontend/json.go |
diff --git a/appengine/ephelper/epfrontend/json.go b/appengine/ephelper/epfrontend/json.go |
deleted file mode 100644 |
index a7a603359809112dbc23c8a3cb0605a828f4e991..0000000000000000000000000000000000000000 |
--- a/appengine/ephelper/epfrontend/json.go |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-package epfrontend |
- |
-import ( |
- "encoding/json" |
-) |
- |
-type jsonRWRawMessage struct { |
- v interface{} |
- raw []byte |
-} |
- |
-var _ interface { |
- json.Marshaler |
- json.Unmarshaler |
-} = (*jsonRWRawMessage)(nil) |
- |
-func (m *jsonRWRawMessage) MarshalJSON() ([]byte, error) { |
- if m.raw != nil { |
- return m.raw, nil |
- } |
- return json.Marshal(m.v) |
-} |
- |
-func (m *jsonRWRawMessage) UnmarshalJSON(data []byte) error { |
- m.raw = data |
- return nil |
-} |