Streamline CLI (snake_case) and Connect (camelCase) JSON
Would it be possible to streamline the JSON format between the CLI (snake_case) and Connect SDK (camelCase) e.g.
bash
op item get XXX --format json
{
"id": "",
"title": "",
"version": 1,
"vault": {
"id": ""
},
"category": "",
"last_edited_by": "",
"created_at": "",
"updated_at": "",
"sections": [
{
"id": "",
"label": ""
}
],
"fields": [
{
"id": "",
"type": "",
"purpose": "",
"label": "",
"value": "",
"entropy": 0,
"password_details": {
"entropy": 0,
"generated": true,
"strength": ""
}
},
{
"id": "",
"type": "",
"purpose": "",
"label": "",
"value": ""
}
]
}
vs e.g. Go SDK
``gojson:"id"
type Item struct {
ID stringjson:"title"`
Title string
URLs []ItemURL `json:"urls,omitempty"`
Favorite bool `json:"favorite,omitempty"`
Tags []string `json:"tags,omitempty"`
Version int `json:"version,omitempty"`
Trashed bool `json:"trashed,omitempty"`
Vault ItemVault `json:"vault"`
Category ItemCategory `json:"category,omitempty"` // TODO: switch this to `category`
Sections []*ItemSection `json:"sections,omitempty"`
Fields []*ItemField `json:"fields,omitempty"`
Files []*File `json:"files,omitempty"`
LastEditedBy string `json:"lastEditedBy,omitempty"`
CreatedAt time.Time `json:"createdAt,omitempty"`
UpdatedAt time.Time `json:"updatedAt,omitempty"`
}
```
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
