public String responsavelIn(String json) { int i = 0; JavaScriptSerializer serializer = new JavaScriptSerializer(); try { // Deserializando a string para Object BeanResponsavel obje = serializer.Deserialize <BeanResponsavel>(json); ResponsavelDAO resp = new ResponsavelDAO(); i = resp.insertUsuario(obje); } catch (WebException ex) { Debug.WriteLine("Erro: " + ex); } return(serializer.Serialize(i.ToString())); }