validation

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidJSON

func IsValidJSON(data []byte) bool

IsValidJSON checks if data is valid JSON without returning detailed errors

func IsValidJSONFile

func IsValidJSONFile(filePath string) bool

IsValidJSONFile checks if a file contains valid JSON without returning detailed errors

func ValidateClaudeSettings

func ValidateClaudeSettings(data []byte) error

ValidateClaudeSettings validates that the JSON contains valid Claude Code settings

func ValidateClaudeSettingsFile

func ValidateClaudeSettingsFile(filePath string) error

ValidateClaudeSettingsFile validates a Claude Code settings file

func ValidateJSON

func ValidateJSON(data []byte) error

ValidateJSON validates that the provided data is valid JSON

func ValidateJSONFile

func ValidateJSONFile(filePath string) error

ValidateJSONFile validates that a file contains valid JSON

Types

This section is empty.

Jump to

Keyboard shortcuts

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