Quote Originally Posted by Mike Peat View Post
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
that's will be great, i'm excited to 19.1 final episode, it's nice how we grow with json, thanks @Mike also thanks @Nils.