Documentation
¶
Overview ¶
Package jq implements a bounded, read-only jq subset without external code or data.
Index ¶
Constants ¶
View Source
const ( MaxFileOperands = 64 MaxVariableBindings = 64 MaxVariableBytes = 1 << 20 MaxVariableNodes = MaxValueNodes MaxVariableValueBytes = MaxValueBytes )
View Source
const ( MaxFilterBytes = 64 << 10 MaxTotalInputBytes = 8 << 20 MaxRawLineBytes = 1 << 20 MaxNestingDepth = 64 MaxFilterNodes = 4_096 MaxValueNodes = 65_536 MaxValueBytes = 4 << 20 MaxIntegerBits = 256 MaxEvalSteps = 100_000 MaxResults = 10_000 MaxResultNodes = 2 * MaxValueNodes MaxResultBytes = 8 << 20 MaxOutputBytes = 1 << 20 )
Limits are per invocation, including inputs that never reach EOF.
Variables ¶
View Source
var Cmd = builtins.Command{
Name: "jq",
Description: "process JSON with bounded read-only filters",
MakeFlags: registerFlags,
NormalizeArgs: normalizeVariableArgs,
}
Cmd is the jq builtin command descriptor.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.