3.1.16.1.1. waf_tools.config_validate_utils.read_json_from_node

waf_tools.config_validate_utils.read_json_from_node(bld: BuildContext, file: Node | str) → dict

Read and parse a JSON file from a node or path string.

Parameters:
  • bld – Active waf build context.

  • file – Node object or path string.

Returns:

Parsed JSON content.