neofs-node
neofs-node copied to clipboard
Support more convenient JSON format in CLI
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
This especially sucks in EACLs.