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

common

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostProcessJSONPath

func PostProcessJSONPath(res any) (string, error)

PostProcessJSONPath 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