@wp-blocks/make-pot
    Preparing search index...

    Function parseJsonFile

    • Parses a JSON file and returns an array of parsed data.

      Parameters

      • opts: { fileContent: string; filename: "block.json" | "theme.json" }

        The arguments for parsing the JSON file.

      Returns Promise<Block[] | undefined>

      A promise that resolves to an object containing the parsed data.