Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(JP) FIX add comment about Python interpreter in walkthrough_apiv2.md (#4524) #4525

Merged
merged 2 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading