示例#1
0
        private void ExportData()
        {
            //_server.Write(_graphConverter.ToJson());

            //return;
            var toJson = new OuterJsonExportFormat {
                IsGameRunning = _gameReader.IsActive,
                Data          = _aggregator.Export()
            };
            var json = JsonConverter.Convert(toJson);

            _browser.JsPojo.GraphJson = json;
            _server.Write(json);
        }