Exemplo n.º 1
0
        private JObject GetFullDatabaseJsonObject()
        {
            var     rawJsonString    = _databaseAccessor.ReadDatabase();
            var     parsedJsonString = rawJsonString == string.Empty ? @"{}" : rawJsonString;
            JObject jsonRoot         = JObject.Parse(parsedJsonString);

            return(jsonRoot);
        }