Last active
March 10, 2022 13:26
-
-
Save matthewlmcclure/ffbd7deae00215c954bee77bf3e71788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ./notes-invalid-json.csv | |
User,name,title,owner,ownedByMe,JSON | |
[email protected],notes/placeholder-id,,[email protected],True, {"body": {"text": {"text": "\\""}}, "createTime": "2022-03-10T13:10:00Z", "name": "notes/placeholder-id", "ownedByMe": true, "owner": "[email protected]", "permissions": [{"email": "[email protected]", "name": "notes/placeholder-id/permissions/placeholder-id", "role": "OWNER", "user": {"email": "[email protected]"}}], "trashTime": "Never", "updateTime": "2022-03-10T13:10:00Z"} | |
$ gam csv ./notes-invalid-json.csv quotechar " " gam user [email protected] create note json "~JSON" copyacls | |
2022-03-10T13:17:09.932+00:00,0/1,Using 1 process... | |
Command: gam user [email protected] create note json >>>"{"body": {"text": {"text": "\\""}}, "createTime": "2022-03-10T13:10:00Z", "name": "notes/placeholder-id", "ownedByMe": true, "owner": "[email protected]", "permissions": [{"email": "[email protected]", "name": "notes/placeholder-id/permissions/placeholder-id", "role": "OWNER", "user": {"email": "[email protected]"}}], "trashTime": "Never", "updateTime": "2022-03-10T13:10:00Z"}"<<< copyacls | |
ERROR: Expecting ',' delimiter: line 1 column 32 (char 31): {"body": {"text": {"text": "\\""}}, "createTime": "2022-03-10T13:10:00Z", "name": "notes/placeholder-id", "ownedByMe": true, "owner": "[email protected]", "permissions": [{"email": "[email protected]", "name": "notes/placeholder-id/permissions/placeholder-id", "role": "OWNER", "user": {"email": "[email protected]"}}], "trashTime": "Never", "updateTime": "2022-03-10T13:10:00Z"} | |
Help: Syntax in file /Users/matthewlmcclure/code/gamadv-xtd3/gamadv-xtd3/GamCommands.txt | |
Help: Documentation is at https://github.com/taers232c/GAMADV-XTD3/wiki | |
$ cat ./notes-valid-json.csv | |
User,name,title,owner,ownedByMe,JSON | |
[email protected],notes/placeholder-id,,[email protected],True, {"body": {"text": {"text": "\""}}, "createTime": "2022-03-10T13:10:00Z", "name": "notes/placeholder-id", "ownedByMe": true, "owner": "[email protected]", "permissions": [{"email": "[email protected]", "name": "notes/placeholder-id/permissions/placeholder-id", "role": "OWNER", "user": {"email": "[email protected]"}}], "trashTime": "Never", "updateTime": "2022-03-10T13:10:00Z"} | |
$ gam csv ./notes-valid-json.csv quotechar " " gam user [email protected] create note json "~JSON" copyacls | |
2022-03-10T13:22:59.176+00:00,0/1,Using 1 process... | |
Note: notes/1TblZ0yPpn2WA8WZ26vmeO45olkrapJiRdXUC8jg7n-trptckB62c851_RW_PU4Y | |
title: | |
createTime: 2022-03-10T13:23:00Z | |
updateTime: 2022-03-10T13:23:00Z | |
trashTime: Never | |
owner: [email protected] | |
ownedByMe: True | |
permissions: | |
name: notes/1TblZ0yPpn2WA8WZ26vmeO45olkrapJiRdXUC8jg7n-trptckB62c851_RW_PU4Y/permissions/AfoJJ7ZL0yia-2AdCIxI7KLXcxySnWmtOEfw4D3P | |
role: OWNER | |
user: [email protected] | |
text: | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment