neofs-node icon indicating copy to clipboard operation
neofs-node copied to clipboard

Support more convenient JSON format in CLI

Open cthulhu-rider opened this issue 2 years ago • 1 comments

In current implementation CLI app supports NeoFS (Protocol Buffers) JSON format only. This format is sometimes not convenient. For example, we need to form container identifier field as

"cid": {
  "value":"Uv38ByGCZU8WP18PmmIdcpVmx00QA3xNe7sEB9Hixkk=" # base64-encoded ID
}

Protocol JSON format can't be changed (it's an axiom), but we can provide more convenient format in CLI local layer. For example, identifiers can be presented as protocol strings:

"cid": "6ay4GfhR9RgN28d5ufg63toPetkYHGcpcW7G3b7QWSek" # base8-encoded ID according to NeoFS API protocol

cthulhu-rider avatar Apr 22 '22 11:04 cthulhu-rider

This especially sucks in EACLs.

roman-khimov avatar Apr 19 '24 12:04 roman-khimov