<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taku-0728</author_name>
  <author_url>https://blog.hatena.ne.jp/taku-0728/</author_url>
  <blog_title>Yappli Tech Blog</blog_title>
  <blog_url>https://tech.yappli.io/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>はじめに こんにちは、サーバーサイドエンジニアの中川（@tkdev0728）です。 JSONから特定のキーを使って値を抽出するというユースケースは珍しくないと思います。言語やツールによっていくつかやり方は変わると思うのですが、 今回はリクエスト先と抽出用のキーが動的に変わるのでさまざまなパターンが想定されていました。 Goで抽出を行いたく、探索ロジックを自前で実装しなきゃいけないかなと思ったのですが調べてみるとgojqというライブラリがあることを知り使ってみました。 めちゃくちゃ便利だと思ったので今回はgojqについて紹介してみようと思います。 gojqとは リポジトリはこちら github.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.yappli.io%2Fentry%2Fgo_gojq&quot; title=&quot;GoでJSONから値を探索する時にgojqが便利だった - Yappli Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/153221285/1600243384103025</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-05-31 14:17:58</published>
  <title>GoでJSONから値を探索する時にgojqが便利だった</title>
  <type>rich</type>
  <url>https://tech.yappli.io/entry/go_gojq</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
