codelibs/elasticsearch-dataformat

List inside json document for excel document

bandika-dgit opened this issue · 0 comments

in case json document has property list inside, for example

{
 "order_id": "123",  
 "type": {
          "subType1":"sub type one",
          "subType2":"sub type two"
          },

 "listProperty": [
       {
           "organization" : {
                      "id" : "organization 1"
             }
      },
     {
           "organization" : {
                     "id": "organization 2"
             }
      },

 ]
}

can possible the each list property element get output to excel like following:

listProperty[0].organization.id listProperty[1].organization.id
organization1 organization2

Instead of:

listProperty
[{"organization" : { "id" : "organization1"}}, {"organization" : { "id" : "organization2"}}]