DiegoZoracKy / convert-excel-to-json

Convert Excel to JSON, mapping sheet columns to object keys.
MIT License
289 stars 92 forks source link

True/ False Boolean #55

Open troyyer opened 3 years ago

troyyer commented 3 years ago

Hi @DiegoZoracKy,

Is there a way to save the json record as a True/False Boolean?

for example currently if i have in an Excel file a text with True/False. It will come up in the json as

        {
            "Name": "Anthony",
            "Membership": "TRUE",
        }

is it possible for me to save the json as a boolean value?

        {
            "Name": "Anthony",
            "Membership": true,
        }