Skip to content

Commit

Permalink
Merge pull request #4525 from fisuda/patch
Browse files Browse the repository at this point in the history
(JP) FIX add comment about Python interpreter in walkthrough_apiv2.md (#4524)
  • Loading branch information
fgalan authored Feb 27, 2024
2 parents f367618 + ca2ab8e commit 6310bb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/manuals.jp/user/walkthrough_apiv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ curl ... -H 'Content-Type: application/json' ...

- 例では、broker がポート1026をリッスンしていると仮定しています。異なるポートを使用している場合は、curl コマンドラインでこれを調整してください

- レスポンスで JSON をきれいに印刷するために、Python を msjon.tool とともに使用することができます (チュートリアルの例ではこのスタイルを使用しています) :
- レスポンスで JSON をきれいに印刷するために、Python を mjson.tool とともに使用することができます (チュートリアルの例ではこのスタイルを使用しています) : `python` をあなたのケースによって特定の Python 実行可能ファイルに置き換えます (たとえば、ケースによっては `| python3 -mjson.tool` になる可能性があります)。

```
(curl ... | python -mjson.tool) <<EOF
Expand Down
2 changes: 1 addition & 1 deletion doc/manuals/user/walkthrough_apiv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Some additional remarks:
different port.

- In order to pretty-print JSON in responses, you can use Python with
msjon.tool (examples along with tutorial are using this style). Replace
mjson.tool (examples along with tutorial are using this style). Replace
`python` by the particular Python executable in your case (e.g. in some
cases it could be `| python3 -mjson.tool`).

Expand Down

0 comments on commit 6310bb2

Please sign in to comment.