Hi @connecter, I was not able to reproduce the first issue - wrong order of attributes. What version of FME are you using? Could you share a small workspace and source dataset example which can reproduce the issue?
Regarding the second issue - missing B, try assign Null to every missing B with the NullAttributeMapper transformer before writing.
Hi @takashi,
thank you for your answer. Both problems are solved with the NullAttributeMapper. The first issue exists, when B have no entry and it looks like:
"properties" : {
"A" : Hans,
"C" : Berlin
}
"properties" : {
"A" : Klaus,
"B" : 25,
"C" : Paris
}
The order of the column is A,C,B. With your help, the NullAttributeMapper create a B with "null".
Maybe the GeoJSON writer get an update with this option? It that case, its makes not much sense.