REST is basically an architectural style of the web services that work as a channel of communication between different computers or systems on the internet. SOAP is a standard communication protocol system that permits processes using different operating systems, such as Linux and Windows, to communicate via HTTP and its XML. SOAP-based APIs are designed to create, recover, update, and delete records, such as accounts, passwords, leads, and custom objects.
json.load can deserialize a file itself; that is, it accepts file objects.