package
3.2.7-fix1
Repository: https://github.com/explorer1092/nuclei.git
Documentation: pkg.go.dev

# Functions

Decode decodes the data from a format.
Encode encodes the data into a format.
Get returns the dataformat by name.
KVMap returns a new KV struct with the given map.
KVOrderedMap returns a new KV struct with the given ordered map.
NewForm returns a new Form encoder.
NewJSON returns a new JSON encoder.
NewMultiPartForm returns a new MultiPartForm encoder.
NewRaw returns a new Raw encoder.
NewXML returns a new XML encoder.
RegisterEncoder registers an encoder.
ToMap converts the ordered map to a map.
ToOrderedMap converts the map to an ordered map.

# Constants

DefaultKey is the key i.e used when given data is not of k-v type.
FormDataFormat is the name of the Form data format.
JSONDataFormat is the name of the JSON data format.
MultiPartFormDataFormat is the name of the MultiPartForm data format.
RawDataFormat is the name of the Raw data format.
XMLDataFormat is the name of the XML data format.

# Structs

Decoded is a decoded data format.
No description provided by the author
JSON is a JSON encoder For now JSON only supports objects as the root data type and not arrays TODO: Support arrays + other JSON oddities by adding more attirbutes to the map[string]interface{}.
KV is a key-value struct that is implemented or used by fuzzing package to represent a key-value pair sometimes order or key-value pair is important (query params) so we use ordered map to represent the data if it's not important/significant (ex: json,xml) we use map this also allows us to iteratively implement ordered map.
No description provided by the author
No description provided by the author
XML is an XML encoder.

# Interfaces

DataFormat is an interface for encoding and decoding.