Hello,
I am creating a josn using the json Templater. In my setting i have a subtemplate that must to be an "object" and contain a lot off nested attributes that are "list".
In the situation where only 1 attribute is populated, the final result is good (Topology1record.jpg screenshot) but when I have more attributes populated the result is an array and not an object (Topology2records.jpg screenshot). I also attached the templater to show what I did.
My final result should be:
Â
{
  "type" : "FeatureCollection",
  "features" : t
     {
Â
        "id" : "rfs:7BBE13D625241D58",
        "properties" : {
Â
           "topologyCharacteristics" : {
Â
                 "isPaved" : >
                    {
                       "range" : {
                          "endOffset" : 1,
                          "startOffset" : 0
                       },
                       "value" : false
                    }
                 ],
Â
                 "isFourWheelDrive" :
                    {
                       "range" : {
                          "endOffset" : 1,
                          "startOffset" : 0
                       },
                       "value" : true
                    }
                 ]
             }
Â
            }
              }
         ]Â
   }
Â
How can i resolve this problem.
Â
Thanks to all
Â
Max