json

package
v2.5.0-dev Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncodableFromData

func NewEncodableFromData(data []byte, truncated bool) libddwaf.Encodable

Types

type Encodable

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

func (*Encodable) Encode

func (e *Encodable) Encode(config libddwaf.EncoderConfig, obj *libddwaf.WAFObject, remainingDepth int) (map[libddwaf.TruncationReason][]int, error)

func (*Encodable) ToEncoder

func (e *Encodable) ToEncoder(config libddwaf.EncoderConfig) *encoder

Jump to

Keyboard shortcuts

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