Synthoid / ExportSheetData

Add-on for Google Sheets that allows sheets to be exported as JSON or XML.
MIT License
236 stars 46 forks source link

(JSON / XML) Option for not exporting cells with empty or null values #14

Closed Synthoid closed 7 years ago

Synthoid commented 7 years ago

Add an option for not exporting individual cells from a row as either XML attributes / elements or JSON values if the cell is blank.

This should help cut down on file size by not including elements for empty cells, at the cost of the user end application checking that a value exists first.

Example: { "name" : "Gorloc", "age" : 20, "birthplace" : "", "occupation" : "Barbarian" }

Would become:

{ "name" : "Gorloc", "age" : 20, "occupation" : "Barbarian" }

Synthoid commented 7 years ago

Release version 32 now supports this.