You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
At Collective Idea, we do a lot of work with RESTful JSON APIs. They can be a joy to build but a pain to test. We’re currently working on a project that’s all API all the time, so we developed some reusable Cucumber steps for testing. Now, we’ve abstracted all that goodness out into its own gem… json_spec. The Gem The json_spec gem is a collection of RSpec matchers and a collection of Cucumber ste
サーバとiOSアプリのデータのやり取りを〇〇倍高速化する方法をみて messagepack も含めてパース部分だけのベンチを計測したくなったのでやっちゃいましたというお話です。 今回 JSON のパーサーには Apple JSON framework を使用しました。 そこそこ速くて iOS5 以上で使用できるので個人的にはよく使ってます。 他の JSON パーサーとの比較はiOS-JSON-Performanceが参考になります。 データ作成 パースするデータは元記事を参考に作成しました。 response_data = { :info => { :total => 1000, :count => 1000 }, :results => (1..1000).map { |i| { :name => "name#{i}", :age => i } } } #json response_da
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く