Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawMessage ¶
type RawMessage struct { JSON json.RawMessage // UseInt64 controls conversion of JSON numbers. // // When UseInt64 is set to true, json numbers that can be represented as int64 // are converted to int64 in yson. UseInt64 bool // UseUint64 controls conversion of JSON numbers. // // When UseUint64 is set to true, json numbers that can be represented as uint64 // are converted to uint64 in yson. // // When both UseInt64 and UseUint64 are set to true, conversion to int64 tried first. UseUint64 bool }
RawMessage is type that wraps raw JSON message and marshals it directly to YSON using streaming API.
func (RawMessage) MarshalYSON ¶
func (m RawMessage) MarshalYSON(w *yson.Writer) error
func (*RawMessage) UnmarshalYSON ¶
func (m *RawMessage) UnmarshalYSON(r *yson.Reader) error
Click to show internal directories.
Click to hide internal directories.