Beispiel #1
0
        public static JSONDicrionarySource LoadJSON(string json)
        {
            JSONDictionaryFile dictionaryFile = Newtonsoft.Json.JsonConvert.DeserializeObject <JSONDictionaryFile>(json);

            return(new JSONDicrionarySource(dictionaryFile));
        }
Beispiel #2
0
 private JSONDicrionarySource(JSONDictionaryFile file)
     : this(file.DefaultValue, file.Language, file.Contents)
 {
 }