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" : [
{
"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
Best answer by debbiatsafe
View original