typebutton json action