jsonpathutil

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostProcessJSONPathResult

func PostProcessJSONPathResult(res any) (string, error)

PostProcessJSONPathResult takes the result of a jsonpath extraction and formats it into a string following common rules for spelunk modifiers (jp, yp, tp). It extracts the first element of lists, converts floats appropriately, returns errors for null, and JSON-marshals other complex types.

Types

This section is empty.

Jump to

Keyboard shortcuts

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