Crate kirill

Crate kirill 

Source
Expand description

kirill provides predicates for scanning JSON documents.

Enums§

KirillError
KirillError models bad computer states.

Statics§

COMMON_EXCLUSION_PATHS
DEFAULT_EXCLUSION_FILE_PATTERN
DEFAULT_EXCLUSION_FILE_PATTERN matches common junk file paths.
DEFAULT_JSON5_FILE_PATTERNS
DEFAULT_JSON5_FILE_PATTERNS collects patterns for identifying JSON files.
DEFAULT_JSON_FILE_PATTERNS
DEFAULT_JSON_FILE_PATTERNS collects patterns for identifying JSON files.
JSON5_FILE_EXTENSIONS
JSON5_FILE_EXTENSIONS collects common JSON5 file extensions.
JSON_FILE_EXTENSIONS
JSON_FILE_EXTENSIONS collects common JSON file extensions.

Functions§

find_json_documents
find_json_documents recursively searches the given directories and/or file root paths for JSON documents.
find_json_documents_sorted
find_json_documents_sorted lexicographically sorts any JSON document results.
load_json_schema_validator
validate_json_file
validate_json_file checks file paths for basic JSON validity.
validate_json_file_basic
validate_json_file checks file paths for basic JSON validity.