Skip to main content

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 a jlexer.Lexer.
  • Parameters:
    • in *jlexer.Lexer: The JSON lexer to read from.
    • out *SearchSpanResponseItem: A pointer to the SearchSpanResponseItem struct to decode into.
  • Returns: None

easyjson6ff3ac1dEncodeGoSignozIoSignozPkgQueryServiceModel(out *jwriter.Writer, in SearchSpanResponseItem)

  • Purpose: Encodes a SearchSpanResponseItem struct to a jwriter.Writer.
  • Parameters:
    • out *jwriter.Writer: The JSON writer to write to.
    • in SearchSpanResponseItem: The SearchSpanResponseItem struct to encode.
  • Returns: None

SearchSpanResponseItem.MarshalJSON() ([]byte, error)

  • Purpose: Marshals the SearchSpanResponseItem struct into a JSON byte slice. Implements the json.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 the easyjson.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 the json.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 the SearchSpanResponseItem struct. Implements the easyjson.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 a jlexer.Lexer.
  • Parameters:
    • in *jlexer.Lexer: The JSON lexer to read from.
    • out *OtelSpanRef: A pointer to the OtelSpanRef struct to decode into.
  • Returns: None

easyjson6ff3ac1dEncodeGoSignozIoSignozPkgQueryServiceModel1(out *jwriter.Writer, in OtelSpanRef)

  • Purpose: Encodes an OtelSpanRef struct to a jwriter.Writer.
  • Parameters:
    • out *jwriter.Writer: The JSON writer to write to.
    • in OtelSpanRef: The OtelSpanRef struct to encode.
  • Returns: None

Code Examples

None

Include in Getting Started: NO