{
"Code" : fme:get-attribute("Code"),
"Nom" : fme:get-attribute("Nom"),
"C3" :
>
{
"label" : "2006",
"value" : fme:get-attribute("C3_EII06")
},{
"label" : "2007",
"value" : fme:get-attribute("C3_EII07")
},{
"label" : "2008",
"value" : fme:get-attribute("C3_EII08")
},{
"label" : "2009",
"value" : fme:get-attribute("C3_EII09")
},{
"label" : "2010",
"value" : fme:get-attribute("C3_EII10")
},{
"label" : "2011",
"value" : fme:get-attribute("C3_EII11")
}
]
}
The "values" in the C3 list are all float attributes but the Templater populated them with quotes in the output json. Why? How can I ensure the values to stay in float format?