Documentation

    Function parseJsonCallback

    • Parses the JSON content of a file based on the filename and file content.

      Parameters

      • fileContent: string

        The content of the file to parse.

      • filePath: string

        The path of the file being parsed.

      • filename: "block.json" | "theme.json"

        The type of JSON file being parsed.

      Returns Promise<SetOfBlocks>

      The parsed translation strings.

    MMNEPVFCICPMFPCPTTAAATR