easyjson

package
v1.173.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

* Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved. * SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AStruct

type AStruct struct {
	Number        int64
	Height        int64
	AnotherStruct BStruct
}

func (*AStruct) Equals

func (s *AStruct) Equals(other any) bool

func (AStruct) MarshalEasyJSON

func (v AStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AStruct) MarshalJSON

func (v AStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AStruct) UnmarshalEasyJSON

func (v *AStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AStruct) UnmarshalJSON

func (v *AStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BStruct

type BStruct struct {
	Image string
}

func (*BStruct) Equals

func (s *BStruct) Equals(other any) bool

func (BStruct) MarshalEasyJSON

func (v BStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BStruct) MarshalJSON

func (v BStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BStruct) UnmarshalEasyJSON

func (v *BStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BStruct) UnmarshalJSON

func (v *BStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type TestingStruct

type TestingStruct struct {
	Int      int
	Int8     int8
	Int16    int16
	Int32    int32
	Int64    int64
	String   string
	Bool     bool
	Duration time.Duration
	SString  []string
	SInt     []int
	SInt8    []int8
	SInt16   []int16
	SInt32   []int32
	SInt64   []int64
	SFloat32 []float32
	SFloat64 []float64
	SBool    []bool
	Struct   AStruct
}

func (*TestingStruct) Equals

func (s *TestingStruct) Equals(other any) bool

func (TestingStruct) MarshalEasyJSON

func (v TestingStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (TestingStruct) MarshalJSON

func (v TestingStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*TestingStruct) UnmarshalEasyJSON

func (v *TestingStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TestingStruct) UnmarshalJSON

func (v *TestingStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL