public static DeserializeObject ( String pstring, |
||
pstring | String | |
objectType | ||
리턴 | Object |
public object Load(string contents, Type type) { lock (thisLock) { if (data.Keys.Contains(type.Name)) { contents = data[type.Name]; } return(JsonHelper.DeserializeObject(contents, type)); //return XmlHelper.DeserializeObject(contents, type); } }
public object Load(string contents, Type type) { return(JsonHelper.DeserializeObject(contents, type)); }