Nils - He can't do that because (I am guessing) that the JSON he is working with has a hyphen in the member name.
Salvadori - in 19.1 they have introduced a mechanism for getting around this kind of thing (much better that the nasty hack I use in my RESTGen program) - see: "Name Meta-Data Tag" in the 19.1 help.
Basically you would declare it like:
Code:
Struct Panorama_tPedidocliente
Number id
Integer tipo
{Name="cpf-cpnj"}
String cpf_cnpj
String nome
String nome-fantasia
String inscricao-estadual
Panorama_tPedidoEndereco endereco
Panorama_tPedidoContatos[] contatos
End_Struct
Assuming I am understanding correctly.
Mike