Dude, it starts with the indentation of your Json formatting. I think it makes it easier to read the structure of the object you will need
{
"rssEmpregados":
{
"pesquisa":"marcia",
"registoInicial":"0",
"ordem":"ASC",
"parametrosList" :[
{
"parametros":[],
"tabela" : "EMPREGADOS_CRSS",
"coluna1" : "CODIGO_CRSS",
"coluna2" : "DESCRICAO",
"coluna" : "CODIGO_CRSS"
},
{
"parametros":[],
"tabela" : "EMPREGADOS_FORMAS_PAGAMENTO",
"coluna1" : "CODIGO_FORMA_PAGAMENTO",
"coluna2" : "DESCRICAO",
"coluna" : "CODIGO_FORMA_PAGAMENTO"
}
]
}
}
From this point you get to assemble your properties.
You need to be attentive only to Arrays, as for example in "parametrosList". There you will need to pass a Jsonarray, which has several Jsonobject.
|