github.com/fufuok/utils@v1.0.10/xjson/DOC.md (about) 1 <!-- Code generated by gomarkdoc. DO NOT EDIT --> 2 3 # xjson 4 5 ```go 6 import "github.com/fufuok/utils/xjson" 7 ``` 8 9 ## Index 10 11 - [type RawMessage](<#type-rawmessage>) 12 - [func (m RawMessage) Clone() []byte](<#func-rawmessage-clone>) 13 - [func (m RawMessage) MarshalJSON() ([]byte, error)](<#func-rawmessage-marshaljson>) 14 - [func (m *RawMessage) UnmarshalJSON(data []byte) error](<#func-rawmessage-unmarshaljson>) 15 16 17 ## type RawMessage 18 19 ```go 20 type RawMessage []byte 21 ``` 22 23 ### func \(RawMessage\) Clone 24 25 ```go 26 func (m RawMessage) Clone() []byte 27 ``` 28 29 Clone returns a copy of m. 30 31 ### func \(RawMessage\) MarshalJSON 32 33 ```go 34 func (m RawMessage) MarshalJSON() ([]byte, error) 35 ``` 36 37 MarshalJSON returns m as the JSON encoding of m. 38 39 ### func \(\*RawMessage\) UnmarshalJSON 40 41 ```go 42 func (m *RawMessage) UnmarshalJSON(data []byte) error 43 ``` 44 45 UnmarshalJSON sets \*m to a copy of data. 46 47 48 49 Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>)