jqã¯JSONãçµãè¾¼ããã¼ã«ã§ãããå®ã¯ãã£ãã¨ããããã°ã©ãã³ã°è¨èªã§ãã ç®è¡æ¼ç®åãè«çæ¼ç®åãåå²æ§æãtryã»catchãããã¦é¢æ°å®ç¾©ããããã«ã¼ãã¯å帰é¢æ°ã§å®è£ ãã¾ãã åã« .foo ã¨ã .[0] ã¨ãã§JSONã辿ãã ãã®ãã¼ã«ã ã¨æããã¦ããæ¹ã¯ãbuiltiné¢æ°ã®å®ç¾©ãè¦ã¦ããã ãã¨è¯ããã¨æãã¾ãã selectãmapã®ããã«ããã使ãããé¢æ°ã§ããå é¨å®è£ ã«ãªã£ã¦ããªã (Cã§æ¸ããã¦ããªã) ã®ã¯é¢ç½ãã§ããã jqã®ã¯ã¨ãªãæã£ãããã«æ¸ããªãã¨ããçµé¨ãããjqãããæ·±ãç¥ãããã«Goè¨èªã§åå®è£ ããã®ãgojqã§ãã å»å¹´ã®4æããéçºãå§ãã8æã«ããã°è¨äºãæ¸ãã¾ããã jqã®ã»ã¼ãã¹ã¦ã®æ©è½ãå®è£ ãã¦ãããpure Goã§æ¸ããã¦ããã®ã§Goè¨èªã®ãã¼ã«ã«ç°¡åã«çµã¿è¾¼ããã¨ãã§ãã¾ãã ãã®è¨äºå ¬é以éãéçºãç¶ãã¦ãã¾ãã --arg,
{{#tags}}- {{label}}
{{/tags}}