3.1.16. waf_tools.config_validate_utils
Shared helper functions for JSON-based configuration validation.
This module provides common I/O utilities used across all foxBMS
configuration validators. It abstracts the reading and parsing of JSON
configuration files from waf Node objects or plain path strings.
3.1.16.1. Usage
Import and call from any validator module:
from config_validate_utils import read_json_from_node
cfg = read_json_from_node(bld, json_node)
Functions
|
Read and parse a JSON file from a node or path string. |