Skip to content

Commit 48e08eb

Browse files
committed
Make RawMessage be an alias to json.RawMessage so it's identical.
1 parent 71ac162 commit 48e08eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adapter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package jsoniter
22

33
import (
44
"bytes"
5+
"encoding/json"
56
"io"
67
)
78

89
// RawMessage to make replace json with jsoniter
9-
type RawMessage []byte
10+
type RawMessage = json.RawMessage
1011

1112
// Unmarshal adapts to json/encoding Unmarshal API
1213
//

0 commit comments

Comments
 (0)