getPropertiesArray() public method

Get all properties reduced to simple type (no objects) representations in an array
public getPropertiesArray ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : array
$node Neos\ContentRepository\Domain\Model\NodeInterface
return array
 /**
  * Shows a specific node
  *
  * @param string $identifier Specifies the node to look up
  * @param string $workspaceName Name of the workspace to use for querying the node
  * @param array $dimensions Optional list of dimensions and their values which should be used for querying the specified node
  * @return string
  */
 public function showAction($identifier, $workspaceName = 'live', array $dimensions = array())
 {
     $contentContext = $this->createContentContext($workspaceName, $dimensions);
     /** @var $node NodeInterface */
     $node = $contentContext->getNodeByIdentifier($identifier);
     if ($node === null) {
         $this->addExistingNodeVariantInformationToResponse($identifier, $contentContext);
         $this->throwStatus(404);
     }
     $convertedNodeProperties = $this->nodePropertyConverterService->getPropertiesArray($node);
     array_walk($convertedNodeProperties, function (&$value) {
         if (is_array($value)) {
             $value = json_encode($value);
         }
     });
     $this->view->assignMultiple(array('node' => $node, 'convertedNodeProperties' => $convertedNodeProperties));
 }