Help us shape the future of Go! Take the 2026 Go Developer Survey

jsonpathutil

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 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