public static void FromJSON(Message msg, object json) { msg.error = Util.JsonOptString(json as IDictionary<string, object>, "error"); }