Functions

The following functions are available globally.

  • Deserializes the contents of the JSON file at the specified path.

    Declaration

    func loadJSON(_ path: String) -> Dictionary

    Parameters

    path

    The relative path to the JSON file within the template.

    Return Value

    A dictionary containing the deserialized JSON data.