JSON streaming

JSON ストリーミング

[294] 複数の JSON 値の連続を表すJSONストリームデータ形式が幾つか存在しています。

[1] 意味的には JSON 単体でも配列で表せるのでしょうが、 ストリーミング処理のためには末尾まで読まないと正しいデータかどうか判定できない JSON は不適切です。

[25] JSONストリーミング
[292] バリエーションについても各項を参照。

[301] i3bar は、無限に長い (閉じない) 配列を使っています >>300

[300] i3: i3bar input protocol ( 版) http://i3wm.org/docs/i3bar-protocol.html

What follows is an infinite array (so it should be parsed by a streaming JSON parser, but as described above you can go for a simpler solution), whose elements are one array per status line.