getCachedJson() public méthode

The json will be cached.
public getCachedJson ( Locale $locale ) : Neos\Error\Messages\Result
$locale Neos\Flow\I18n\Locale The locale
Résultat Neos\Error\Messages\Result
 /**
  * Returns the cached json array with the xliff labels
  *
  * @param string $locale
  * @return string
  */
 public function xliffAsJsonAction($locale)
 {
     $this->response->setHeader('Content-Type', 'application/json');
     return $this->xliffService->getCachedJson(new Locale($locale));
 }