In development of RsyncUI, I learned about the new declarative framework Combine. Combine is a great framework and makes the code easy to write and easy to read. In the Combine code for encode and write data to JSON file, the publisher requiere macOS BigSur and later.
Much of the code where Combine is used is shared with RsyncUI. Combine is utilized in the following parts of the app: