public static TextToDictionary ( string text ) : object>.Dictionary |
||
text | string | |
return | object>.Dictionary |
/// <summary> /// Loads a previously saved state in JSON format. /// </summary> /// <param name="json">The JSON string to load.</param> public void LoadJson(string json) { var jObject = SimpleJson.TextToDictionary(json); LoadJsonObj(jObject); if (onDidLoadState != null) { onDidLoadState(); } }
/// <summary> /// Loads a previously saved state in JSON format. /// </summary> /// <param name="json">The JSON string to load.</param> public void LoadJson(string json) { jsonToken = SimpleJson.TextToDictionary(json); }
/// <summary> /// Loads a previously saved state in JSON format. /// </summary> /// <param name="json">The JSON string to load.</param> public void LoadJson(string json) { var jObject = SimpleJson.TextToDictionary(json); LoadJsonObj(jObject); }