Library API
    Preparing search index...

    Function serverWriteJSON

    • Serializes and writes data to a JSON file in the server storage.

      Parameters

      • filePath: string

        Relative path inside the sandboxed root

      • data: any

        Data object or value to write

      • OptionalrootDir: string

        Optional root directory override

      Returns Promise<void>