Move.

Beitrag

Teile dein Wissen.

DRAMA.
Jan 28, 2025
Experten Q&A

How to get JSON output from a CLI tool for parsing?

I'm working with a standard CLI tool, but the output contains many boxes and lines, making it hard to parse for the results I care about. Is there an official way to get a JSON output or something similar that I can easily parse?

  • Move CLI
2
1
Teilen
Kommentare
.

Antworten

1
doodee.
Jan 29 2025, 03:21

Sie können die --jsonOption verwenden, falls verfügbar. Es gibt Befehlsausgaben im JSON-Format zurück, die einfacher zu analysieren sind.

2
Kommentare
.

Weißt du die Antwort?

Bitte melde dich an und teile sie.

Move is an executable bytecode language used to implement custom transactions and smart contracts.

148Beiträge231Antworten
Sui.X.Peera.

Verdiene deinen Anteil an 1000 Sui

Sammle Reputationspunkte und erhalte Belohnungen für deine Hilfe beim Wachstum der Sui-Community.

BelohnungskampagneJuli