These examples use the JSON-RPC processor, that exposes any PHP class as a JSON-RPC service and automatically generates client stubs.
SMD for this service: