qson

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	// contains filtered or unexported fields
}

Field :

func (Field) Name

func (f Field) Name() string

Name :

func (Field) Operator

func (f Field) Operator() string

Operator :

func (Field) Value

func (f Field) Value() interface{}

Value :

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser :

func New

func New(src interface{}) (*Parser, error)

New :

func (*Parser) Parse

func (p *Parser) Parse(b []byte) ([]Field, error)

Parse :

func (*Parser) ParseSort

func (p *Parser) ParseSort(fields []string) ([]Sort, error)

ParseSort :

type Property

type Property struct {
	// contains filtered or unexported fields
}

Property :

func (*Property) JSON

func (p *Property) JSON() string

JSON :

func (*Property) Name

func (p *Property) Name() string

Name :

func (*Property) QSON

func (p *Property) QSON() string

QSON :

func (*Property) Tag

func (p *Property) Tag() reflect.StructTag

Tag :

type Sort

type Sort struct {
	// contains filtered or unexported fields
}

Sort :

func (Sort) IsAscending

func (s Sort) IsAscending() bool

IsAscending :

func (Sort) Name

func (s Sort) Name() string

Name :

Jump to

Keyboard shortcuts

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