Documentation
¶
Overview ¶
Package jsonutil provides safe JSON extraction helpers for CLI backend parsers. These functions extract typed values from map[string]any produced by encoding/json.Unmarshal. No transformation logic, no validation.
Exported within internal/ — visible to sibling packages (claude/, opencode/) but not to library consumers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsNull ¶
ContainsNull reports whether s contains a null byte.
func GetInt ¶
GetInt safely extracts a numeric field as int from a map. JSON numbers are decoded as float64 by encoding/json.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.