Jump to content
We've recently updated our Privacy Statement, available here ×

Json and Arraylist


dal.colares

Recommended Posts

hi,

I am trying to create a report with a Json that I will leave below, but could not add the events. Does anyone know how to do?

 

{
  "content": [
    {
      "id": 94,
      "tipoProcessamento": "MENSAL",
      "subTipoProcessamento": "INTEGRAL",
      "matricula": {
        "id": 6,
        "situacao": "DEMITIDO",
        "tipo": "FUNCIONARIO",
        "pessoa": {
          "id": 4654,
          "nome": "ADILTON MAZUCCO",
          "cpf": "45469768953",
          "foto": null
        },
        "dataInicioContrato": "1990-10-25",
        "descricao": "1",
        "cargo": {
          "id": 103,
          "descricao": "OPERADOR DE ETA"
        }
      },
      "calculo": {
        "id": null
      },
      "competencia": "2005-03",
      "folhaPagamento": true,
      "dataPagamento": "2005-03-29",
      "dataFechamento": "2008-06-17",
      "totalBruto": 1647.65,
      "totalDesconto": 191.5,
      "totalLiquido": 1456.15,
      "situacao": "FECHADA",
      "log": null,
      "tipoMensagem": null,
      "composicaoBases": [
        {
          "id": 1312,
          "configuracaoEvento": null,
          "base": {
            "id": 8,
            "descricao": "I.R.R.F."
          },
          "valor": 999.77,
          "version": 0
        },
        {
          "id": 603,
          "configuracaoEvento": null,
          "base": {
            "id": 6,
            "descricao": "F.G.T.S."
          },
          "valor": 1647.65,
          "version": 0
        }
      ],
      "eventos": [
        {
          "id": 745,
          "tipo": "DESCONTO",
          "configuracao": {
            "id": 50,
            "codigo": 50,
            "descricao": "I.N.S.S. (PADRAO) (REVISAR)",
            "tipo": "DESCONTO"
          },
          "referencia": 11,
          "valor": 181.24
        },
        {
          "id": 742,
          "tipo": "INFORMATIVO_MENOS",
          "configuracao": {
            "id": 141,
            "codigo": 138,
            "descricao": "DESCONTO POR DEPENDENTE (NAO_PADRAO) (REVISAR)",
            "tipo": "INFORMATIVO_MENOS"
          },
          "referencia": 0,
          "valor": 234
        },
        {
          "id": 748,
          "tipo": "VENCIMENTO",
          "configuracao": {
            "id": 22,
            "codigo": 22,
            "descricao": "HORAS EXTRAS 50% (PADRAO) (REVISAR)",
            "tipo": "VENCIMENTO"
          },
          "referencia": 9,
          "valor": 92.25
        },
        {
          "id": 743,
          "tipo": "VENCIMENTO",
          "configuracao": {
            "id": 1,
            "codigo": 1,
            "descricao": "HORAS NORMAIS (PADRAO) (REVISAR)",
            "tipo": "VENCIMENTO"
          },
          "referencia": 220,
          "valor": 1503.4
        },
        {
          "id": 744,
          "tipo": "INFORMATIVO_MAIS",
          "configuracao": {
            "id": 36,
            "codigo": 36,
            "descricao": "F.G.T.S. DO MÊS (PADRAO) (REVISAR)",
            "tipo": "INFORMATIVO_MAIS"
          },
          "referencia": 8,
          "valor": 131.81
        },
        {
          "id": 746,
          "tipo": "DESCONTO",
          "configuracao": {
            "id": 59,
            "codigo": 58,
            "descricao": "I.R.R.F. (PADRAO) (REVISAR)",
            "tipo": "DESCONTO"
          },
          "referencia": 15,
          "valor": 10.26
        },
        {
          "id": 747,
          "tipo": "VENCIMENTO",
          "configuracao": {
            "id": 12,
            "codigo": 12,
            "descricao": "INSALUBRIDADE 20% (PADRAO) (REVISAR)",
            "tipo": "VENCIMENTO"
          },
          "referencia": 20,
          "valor": 52
        }
      ]
    }

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...