public static JSONDicrionarySource LoadJSON(string json) { JSONDictionaryFile dictionaryFile = Newtonsoft.Json.JsonConvert.DeserializeObject <JSONDictionaryFile>(json); return(new JSONDicrionarySource(dictionaryFile)); }
private JSONDicrionarySource(JSONDictionaryFile file) : this(file.DefaultValue, file.Language, file.Contents) { }