static [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FJsonObject](API\Runtime\Json\Dom\FJsonObject) > ToJson ( [EPixelStreamingMessageDirection](API\Plugins\PixelStreamingInput\EPixelStreamingMessageDirection) Direction )