We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to Hash my objects using an "id" column, but I don't want this "id" column to be part of the json object.
E.g:
Google Sheet: [ID, Name, Type, Image] [63, "My Name", "My Type", "MyImage.png"]
gsjson sheetId data.json -b -c id --ignore-col 1
results in:
{ "undefined": { "name": "My Name", "type": "My Type", "image": "My Image" } }
Is it possible to still retrieve the hash with the ignore column? which would result in:
{ "63": { "name": "My Name", "type": "My Type", "image": "My Image" } }
The text was updated successfully, but these errors were encountered:
Thanks for noticing this.
I'm not sure if we should:
The second seem more obvious to me, what do you think?
Sorry, something went wrong.
Yes the second option "allow an ignored column to be used as a hash." seems more intuitive to me.
No branches or pull requests
I would like to Hash my objects using an "id" column, but I don't want this "id" column to be part of the json object.
E.g:
Google Sheet:
[ID, Name, Type, Image]
[63, "My Name", "My Type", "MyImage.png"]
gsjson sheetId data.json -b -c id --ignore-col 1
results in:
Is it possible to still retrieve the hash with the ignore column? which would result in:
The text was updated successfully, but these errors were encountered: