Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractValues ¶
ExtractValues extracts the raw JSON values of the specified keys from the JSON-encoded args. Keys are gjson paths like those returned by SortedFieldsWithTag.
func SortedFieldsWithTag ¶
SortedFieldsWithTag retrieves unique fields with caching to avoid extracting fields from the same struct type repeatedly.
Fields are returned as gjson/sjson paths suitable for use with ExtractValues and sjson. Each path component is escaped so a JSON key containing path syntax like `.`, `@`, or `*` addresses that key literally. Paths are sorted by their unescaped, dot-joined JSON keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.