original_string: protected function getFieldFromBody($key, $body)
      {
          $rpc = json_decode($body, true);
  
          return isset($rpc[$key]) ? $rpc[$key] : null;
      }
code: protected function getFieldFromBody($key, $body)
      {
          $rpc = json_decode($body, true);
  
          return isset($rpc[$key]) ? $rpc[$key] : null;
      }
code_tokens: protected function getFieldFromBody ( $ key , $ body ) { $ rpc = json_decode ( $ body , true ) ; return isset ( $ rpc [ $ key ] ) ? $ rpc [ $ key ] : null ; }
docstring: Get field from body
  
  @param string $key
  @param string $body
  
  @return mixed
docstring_tokens: Get field from body