Skip to content

Commit 64ca2d6

Browse files
authored
Fix
1 parent 8203651 commit 64ca2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine-readable-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Applications *may* (and in the case of forced loose coupling, *should*) make the
1313
* Programs *may* also provide their output as XML, [CBOR](https://cbor.io/), [MessagePack](https://msgpack.org/index.html), or other **self-describing** formats.
1414
* A self-describing format is one where the keys, or some equivalent, are part of the serialized output.
1515
* Formats like [protobuf](https://developers.google.com/protocol-buffers) are suitable as well, if up-to-date IDLs (e.g. `.proto` files) are published along with releases. One neat trick is to embed them into your binary and add a command to write them out to a given directory.
16-
* If many lines of structured data are incrementally printed out, prefer a format like [newline-delimited JSON](http://ndjson.org/). This is the format used by Cargo's `--message-format json` option.
16+
* If many lines of structured data are incrementally printed out, prefer a format like [newline-delimited JSON](https://jsonlines.org/). This is the format used by Cargo's `--message-format json` option.
1717

1818
**Programs *must not* provide their output as [bincode](https://github.com/bincode-org/bincode) or other non-self-describing formats.** These formats are unsuitable for interoperability, where stability is paramount.
1919

0 commit comments

Comments
 (0)