<div dir="ltr"><div>村上です。<br><br>コマンドバージョン3で出力されるJSONをRubyでパースしてたところ、<br>ラベルなしdrilldownの場合で、うまくパースできないようでした。<br><br>ラベル付きのdrilldownsならパースできるので問題はありませんが、<br>一応報告しておきます。<br><br>・再現例ddl、スクリプト<br><a href="https://gist.github.com/naoa/2be78db216c28856996d8e1a524a4a88" target="_blank">https://gist.github.com/naoa/2be78db216c28856996d8e1a524a4a88</a><br><br>・JSON<br>/usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/json/common.rb:156:in `parse&#39;: 784: unexpected token at &#39;{&quot;header&quot;:{&quot;return_code&quot;:0,&quot;start_time&quot;:1465989170.927916,&quot;elapsed_time&quot;:0.0003426074981689453},&quot;body&quot;:{&quot;n_hits&quot;:3,&quot;columns&quot;:[{&quot;name&quot;:&quot;_id&quot;,&quot;type&quot;:&quot;UInt32&quot;},{&quot;name&quot;:&quot;_key&quot;,&quot;type&quot;:&quot;ShortText&quot;},{&quot;name&quot;:&quot;authors&quot;,&quot;type&quot;:&quot;ShortText&quot;}],&quot;records&quot;:[[1,&quot;Hello Groonga&quot;,[&quot;Taro&quot;,&quot;Hanako&quot;]],[2,&quot;The first step for Groonga&quot;,[&quot;Taro&quot;]],[3,&quot;Mastering Groonga&quot;,[&quot;Hanako&quot;]]],&quot;drilldowns&quot;:&quot;Books.authors&quot;,{&quot;n_hits&quot;:2,&quot;columns&quot;:[{&quot;name&quot;:&quot;_key&quot;,&quot;type&quot;:&quot;ShortText&quot;},{&quot;name&quot;:&quot;_nsubrecs&quot;,&quot;type&quot;:&quot;Int32&quot;}],&quot;records&quot;:[[&quot;Taro&quot;,2],[&quot;Hanako&quot;,2]]}}}} (JSON::ParserError)<br>&#39;<br>        from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/json/common.rb:156:in `parse&#39;<br><br><br>&quot;Books.authors&quot;,{&quot;n_hits&quot;:2....<br>ここにキーがないのかなぁ。<br><br><br></div></div>