You are here

protected function ServicesClientConnectionRestServerFormatter::formatJson in Services Client 7.2

Same name and namespace in other branches
  1. 7 services_client_connection/plugins/ServicesClientConnectionRestServer.inc \ServicesClientConnectionRestServerFormatter::formatJson()

JSON encode

File

services_client_connection/plugins/ServicesClientConnectionRestServer.inc, line 258

Class

ServicesClientConnectionRestServerFormatter

Code

protected function formatJson($data) {
  return json_encode($data);
}