span8
span4
span8
span4
Hello,
I'm new to FME and I'm looking to get a JSON file formatted like this :
{ "depart": { "INCENDIE" : 533, "AUTRES" : 30, "RISQUES TECHNOLOGIQUES" : 71, "OPERATIONS DIVERSES" : 320, "ACCIDENT" : 411, "SECOURS A PERSONNE" : 3813 }}
The data comes from the following treatment :
And the inspector give me that informations :
I've try to use the following treatment :
With that configuration :
But I can not get the desired result as above.
If anyone could help me ...?
Best regards.
This 亚搏在线workflow might help you.
Root Template:
{ "depart" : {| fme:process-features("SUB") |}}
SUB Template:
{fme:get-attribute("MOTIF_DEPART") : fme:get-attribute("VAL")}
JSON Writer Issue3 Answers
Error on writing Aggregator results to Writer2 Answers
Aggregator transform node issue3 Answers
Create JSON-files from NetCDF-data2 Answers
© 2019 亚搏在线Safe Software Inc |Legal