We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
非力なデバイスで ルーム一覧を取得して利用したいが、現在の仕様のJSONは大きすぎて利用が難しいので、件数指定と uuid,name,updated_at 等の重要フィールドだけで小さいものが欲しい。
案 /alpha/rooms/joined?access_token=xxxx&limit=2&fields=uuid,name,updated_at
[ { uuid: "xxxxxxxx", name: "ぼっこの部屋", updated_at: "2016-11-05T00:01:12Z" }, { uuid: "xxxxxxxx", name: "あおボッコ", updated_at: "2016-11-05T00:01:12Z" } ]
The text was updated successfully, but these errors were encountered:
ご要望としてリリース候補に入れておきます。
参考ですが、一般にメモリが厳しい環境ではイベントベースのパーサーが有効ですので、下記のようなパーサーを活用いただくと解決できるかと思います。 https://github.com/squix78/json-streaming-parser
Sorry, something went wrong.
No branches or pull requests
非力なデバイスで ルーム一覧を取得して利用したいが、現在の仕様のJSONは大きすぎて利用が難しいので、件数指定と uuid,name,updated_at 等の重要フィールドだけで小さいものが欲しい。
案
/alpha/rooms/joined?access_token=xxxx&limit=2&fields=uuid,name,updated_at
The text was updated successfully, but these errors were encountered: