response_easyjson.go
response_easyjson.go - Overview
This file contains easyjson generated code for marshaling and unmarshaling the SearchSpanResponseItem
and OtelSpanRef
structs. This enables efficient JSON serialization and deserialization.
Detailed Documentation
easyjson6ff3ac1dDecodeGoSignozIoSignozPkgQueryServiceModel(in *jlexer.Lexer, out *SearchSpanResponseItem)
- Purpose: Decodes a
SearchSpanResponseItem
struct from ajlexer.Lexer
. - Parameters:
in *jlexer.Lexer
: The JSON lexer to read from.out *SearchSpanResponseItem
: A pointer to theSearchSpanResponseItem
struct to decode into.
- Returns: None
easyjson6ff3ac1dEncodeGoSignozIoSignozPkgQueryServiceModel(out *jwriter.Writer, in SearchSpanResponseItem)
- Purpose: Encodes a
SearchSpanResponseItem
struct to ajwriter.Writer
. - Parameters:
out *jwriter.Writer
: The JSON writer to write to.in SearchSpanResponseItem
: TheSearchSpanResponseItem
struct to encode.
- Returns: None
SearchSpanResponseItem.MarshalJSON() ([]byte, error)
- Purpose: Marshals the
SearchSpanResponseItem
struct into a JSON byte slice. Implements thejson.Marshaler
interface. - Parameters: None
- Returns:
[]byte
: The JSON representation of the struct.error
: An error if marshaling fails.
SearchSpanResponseItem.MarshalEasyJSON(w *jwriter.Writer)
- Purpose: Marshals the
SearchSpanResponseItem
struct using the easyjson encoder. Implements theeasyjson.Marshaler
interface. - Parameters:
w *jwriter.Writer
: The JSON writer to write to.
- Returns: None
SearchSpanResponseItem.UnmarshalJSON(data []byte) error
- Purpose: Unmarshals a JSON byte slice into the
SearchSpanResponseItem
struct. Implements thejson.Unmarshaler
interface. - Parameters:
data []byte
: The JSON data to unmarshal.
- Returns:
error
: An error if unmarshaling fails.
SearchSpanResponseItem.UnmarshalEasyJSON(l *jlexer.Lexer)
- Purpose: Unmarshals JSON data from a
jlexer.Lexer
into theSearchSpanResponseItem
struct. Implements theeasyjson.Unmarshaler
interface. - Parameters:
l *jlexer.Lexer
: The JSON lexer to read from.
- Returns: None
easyjson6ff3ac1dDecodeGoSignozIoSignozPkgQueryServiceModel1(in *jlexer.Lexer, out *OtelSpanRef)
- Purpose: Decodes an
OtelSpanRef
struct from ajlexer.Lexer
. - Parameters:
in *jlexer.Lexer
: The JSON lexer to read from.out *OtelSpanRef
: A pointer to theOtelSpanRef
struct to decode into.
- Returns: None
easyjson6ff3ac1dEncodeGoSignozIoSignozPkgQueryServiceModel1(out *jwriter.Writer, in OtelSpanRef)
- Purpose: Encodes an
OtelSpanRef
struct to ajwriter.Writer
. - Parameters:
out *jwriter.Writer
: The JSON writer to write to.in OtelSpanRef
: TheOtelSpanRef
struct to encode.
- Returns: None
Code Examples
None
Include in Getting Started: NO