Suppose I have the following object:
public class ItemDePedido {
private int qtde;
private double subtotal;
private Produto produto;
}
In memory this (already created) object is interpreted as:
model.ItemDePedido@40c8f929
My question is: Is there any way to convert a String to this value in an Object?