CINXE.COM
Unmarshal - Search Results - Go Packages
<!DOCTYPE html> <html lang="en" data-layout="" data-local=""> <head> <script> window.addEventListener('error', window.__err=function f(e){f.p=f.p||[];f.p.push(e)}); </script> <script> (function() { const theme = document.cookie.match(/prefers-color-scheme=(light|dark|auto)/)?.[1] if (theme) { document.querySelector('html').setAttribute('data-theme', theme); } }()) </script> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Go is an open source programming language that makes it easy to build simple, reliable, and efficient software."> <meta name="robots" content="noindex"> <meta class="js-gtmID" data-gtmid="GTM-W8MVQXG"> <link rel="shortcut icon" href="/static/shared/icon/favicon.ico"> <link href="/static/frontend/frontend.min.css?version=prod-frontend-00098-h5t" rel="stylesheet"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Go Packages"> <title>Unmarshal - Search Results - Go Packages</title> <link href="/static/frontend/search/search.min.css?version=prod-frontend-00098-h5t" rel="stylesheet"> </head> <body> <script> function loadScript(src, mod = true) { let s = document.createElement('script'); s.src = src; if (mod) { s.type = 'module'; s.async = true; s.defer = true } document.head.appendChild(s); } loadScript("/third_party/dialog-polyfill/dialog-polyfill.js", false) loadScript("/static/frontend/frontend.js"); </script> <header class="go-Header js-siteHeader"> <div class="go-Header-inner go-Header-inner--dark"> <nav class="go-Header-nav"> <a href="https://go.dev/" class="js-headerLogo" data-gtmc="nav link" data-test-id="go-header-logo-link" role="heading" aria-level="1"> <img class="go-Header-logo" src="/static/shared/logo/go-white.svg" alt="Go"> </a> <div class="skip-navigation-wrapper"> <a class="skip-to-content-link" aria-label="Skip to main content" href="#main-content"> Skip to Main Content </a> </div> <div class="go-Header-rightContent"> <div class="go-SearchForm js-searchForm"> <form class="go-InputGroup go-ShortcutKey go-SearchForm-form" action="/search" data-shortcut="/" data-shortcut-alt="search" data-gtmc="search form" aria-label="Search for a package" role="search" > <input name="q" class="go-Input js-searchFocus" aria-label="Search for a package" type="search" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" placeholder="Search packages or symbols" value="Unmarshal" /> <input name="m" value="symbol" hidden> <button class="go-Button go-Button--inverted" aria-label="Submit search"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/search_gm_grey_24dp.svg" alt="" /> </button> </form> <button class="go-SearchForm-expandSearch js-expandSearch" data-gtmc="nav button" aria-label="Open search" data-test-id="expand-search"> <img class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/search_gm_grey_24dp.svg" alt=""> </button> </div> <ul class="go-Header-menu"> <li class="go-Header-menuItem"> <a class="js-desktop-menu-hover" href="#" data-gtmc="nav link"> Why Go <img class="go-Icon" height="24" width="24" src="/static/shared/icon/arrow_drop_down_gm_grey_24dp.svg" alt="submenu dropdown icon"> </a> <ul class="go-Header-submenu go-Header-submenu--why js-desktop-submenu-hover" aria-label="submenu"> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/solutions#case-studies"> <span>Case Studies</span> </a> </div> <p>Common problems companies solve with Go</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/solutions#use-cases"> <span>Use Cases</span> </a> </div> <p>Stories about how and why companies use Go</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/security/"> <span>Security</span> </a> </div> <p>How Go can help keep you secure by default</p> </li> </ul> </li> <li class="go-Header-menuItem"> <a href="https://go.dev/learn/" data-gtmc="nav link">Learn</a> </li> <li class="go-Header-menuItem"> <a class="js-desktop-menu-hover" href="#" data-gtmc="nav link"> Docs <img class="go-Icon" height="24" width="24" src="/static/shared/icon/arrow_drop_down_gm_grey_24dp.svg" alt="submenu dropdown icon"> </a> <ul class="go-Header-submenu go-Header-submenu--docs js-desktop-submenu-hover" aria-label="submenu"> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/doc/effective_go"> <span>Effective Go</span> </a> </div> <p>Tips for writing clear, performant, and idiomatic Go code</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/doc/"> <span>Go User Manual</span> </a> </div> <p>A complete introduction to building software with Go</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://pkg.go.dev/std"> <span>Standard library</span> </a> </div> <p>Reference documentation for Go's standard library</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/doc/devel/release"> <span>Release Notes</span> </a> </div> <p>Learn what's new in each Go release</p> </li> </ul> </li> <li class="go-Header-menuItem go-Header-menuItem--active"> <a href="/" data-gtmc="nav link">Packages</a> </li> <li class="go-Header-menuItem"> <a class="js-desktop-menu-hover" href="#" data-gtmc="nav link"> Community <img class="go-Icon" height="24" width="24" src="/static/shared/icon/arrow_drop_down_gm_grey_24dp.svg" alt="submenu dropdown icon"> </a> <ul class="go-Header-submenu go-Header-submenu--community js-desktop-submenu-hover" aria-label="submenu"> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/talks/"> <span>Recorded Talks</span> </a> </div> <p>Videos from prior events</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://www.meetup.com/pro/go"> <span>Meetups</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </div> <p>Meet other local Go developers</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://github.com/golang/go/wiki/Conferences"> <span>Conferences</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </div> <p>Learn and network with Go developers from around the world</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/blog"> <span>Go blog</span> </a> </div> <p>The Go project's official blog.</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/help"> <span>Go project</span> </a> </div> <p>Get help and stay informed from Go</p> </li> <li class="go-Header-submenuItem"> <div> Get connected </div> <p></p> <div class="go-Header-socialIcons"> <a class="go-Header-socialIcon" aria-label="Get connected with google-groups (Opens in new window)" title="Get connected with google-groups (Opens in new window)" href="https://groups.google.com/g/golang-nuts"> <img src="/static/shared/logo/social/google-groups.svg" /> </a> <a class="go-Header-socialIcon" aria-label="Get connected with github (Opens in new window)" title="Get connected with github (Opens in new window)" href="https://github.com/golang"> <img src="/static/shared/logo/social/github.svg" /> </a> <a class="go-Header-socialIcon" aria-label="Get connected with twitter (Opens in new window)" title="Get connected with twitter (Opens in new window)" href="https://twitter.com/golang"> <img src="/static/shared/logo/social/twitter.svg" /> </a> <a class="go-Header-socialIcon" aria-label="Get connected with reddit (Opens in new window)" title="Get connected with reddit (Opens in new window)" href="https://www.reddit.com/r/golang/"> <img src="/static/shared/logo/social/reddit.svg" /> </a> <a class="go-Header-socialIcon" aria-label="Get connected with slack (Opens in new window)" title="Get connected with slack (Opens in new window)" href="https://invite.slack.golangbridge.org/"> <img src="/static/shared/logo/social/slack.svg" /> </a> <a class="go-Header-socialIcon" aria-label="Get connected with stack-overflow (Opens in new window)" title="" href="https://stackoverflow.com/collectives/go"> <img src="/static/shared/logo/social/stack-overflow.svg" /> </a> </div> </li> </ul> </li> </ul> <button class="go-Header-navOpen js-headerMenuButton go-Header-navOpen--white" data-gtmc="nav button" aria-label="Open navigation"> </button> </div> </nav> </div> </header> <aside class="go-NavigationDrawer js-header"> <nav class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="https://go.dev/"> <img class="go-NavigationDrawer-logo" src="/static/shared/logo/go-blue.svg" alt="Go."> </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem js-mobile-subnav-trigger go-NavigationDrawer-hasSubnav"> <a href="#"> <span>Why Go</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_next_gm_grey_24dp.svg" alt=""> </i> </a> <div class="go-NavigationDrawer go-NavigationDrawer-submenuItem"> <div class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="#"> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_before_gm_grey_24dp.svg" alt=""> </i> Why Go </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/solutions#case-studies"> Case Studies </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/solutions#use-cases"> Use Cases </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/security/"> Security </a> </li> </ul> </div> </div> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/learn/">Learn</a> </li> <li class="go-NavigationDrawer-listItem js-mobile-subnav-trigger go-NavigationDrawer-hasSubnav"> <a href="#"> <span>Docs</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_next_gm_grey_24dp.svg" alt=""> </i> </a> <div class="go-NavigationDrawer go-NavigationDrawer-submenuItem"> <div class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="#"><i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_before_gm_grey_24dp.svg" alt=""> </i> Docs </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/doc/effective_go"> Effective Go </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/doc/"> Go User Manual </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://pkg.go.dev/std"> Standard library </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/doc/devel/release"> Release Notes </a> </li> </ul> </div> </div> </li> <li class="go-NavigationDrawer-listItem go-NavigationDrawer-listItem--active"> <a href="/">Packages</a> </li> <li class="go-NavigationDrawer-listItem js-mobile-subnav-trigger go-NavigationDrawer-hasSubnav"> <a href="#"> <span>Community</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_next_gm_grey_24dp.svg" alt=""> </i> </a> <div class="go-NavigationDrawer go-NavigationDrawer-submenuItem"> <div class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="#"> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_before_gm_grey_24dp.svg" alt=""> </i> Community </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/talks/"> Recorded Talks </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://www.meetup.com/pro/go"> Meetups <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://github.com/golang/go/wiki/Conferences"> Conferences <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/blog"> Go blog </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/help"> Go project </a> </li> <li class="go-NavigationDrawer-listItem"> <div>Get connected</div> <div class="go-Header-socialIcons"> <a class="go-Header-socialIcon" href="https://groups.google.com/g/golang-nuts"><img src="/static/shared/logo/social/google-groups.svg" /></a> <a class="go-Header-socialIcon" href="https://github.com/golang"><img src="/static/shared/logo/social/github.svg" /></a> <a class="go-Header-socialIcon" href="https://twitter.com/golang"><img src="/static/shared/logo/social/twitter.svg" /></a> <a class="go-Header-socialIcon" href="https://www.reddit.com/r/golang/"><img src="/static/shared/logo/social/reddit.svg" /></a> <a class="go-Header-socialIcon" href="https://invite.slack.golangbridge.org/"><img src="/static/shared/logo/social/slack.svg" /></a> <a class="go-Header-socialIcon" href="https://stackoverflow.com/collectives/go"><img src="/static/shared/logo/social/stack-overflow.svg" /></a> </div> </li> </ul> </div> </div> </li> </ul> </nav> </aside> <div class="go-NavigationDrawer-scrim js-scrim" role="presentation"></div> <main class="go-Container" id="main-content"> <header class="SearchResults-header js-searchHeader"> <div class="SearchResults-headerContent"> <a class="SearchResults-headerLogo" href="https://go.dev/" aria-hidden="true" tabindex="-1" data-gtmc="header link" aria-label="Link to Go Homepage"> <img height="78" width="207" src="/static/shared/logo/go-blue.svg" alt="Go"> </a> <form class="go-InputGroup go-ShortcutKey SearchResults-search" action="/search" data-shortcut="/" data-shortcut-alt="search" data-gtmc="search form" aria-label="Search for a package" role="search" > <input name="q" class="go-Input js-searchFocus" aria-label="Search for a package" type="search" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" placeholder="Search packages or symbols" value="Unmarshal" /> <input name="m" value="symbol" hidden> <button class="go-Button go-Button--inverted" aria-label="Submit search"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/search_gm_grey_24dp.svg" alt="" /> </button> </form> </div> </header> <div class="SearchResults-tabs"> <nav class="go-TabNav"> <ul> <li > <a href="/search?limit=25&m=package&q=Unmarshal">Packages</a> </li> <li aria-current="page"> <a href="/search?limit=25&m=symbol&q=Unmarshal">Symbols</a> </li> </ul> </nav> </div> <div class="go-Content SearchResults"> <div class="SearchResults-summary" role="heading" aria-level="1"> Showing <strong>25</strong> matching symbols. <a href="/search-help">Search help</a> </div> <div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/encoding/json#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="0" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/encoding/json" data-gtmc="symbol search result package" data-gtmv="0" class="">encoding/json</a> </h2> <span class="go-Chip go-Chip--inverted">standard library</span> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package json implements encoding and decoding of JSON as defined in RFC 7159.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(data []byte, v any) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/encoding/json?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>1,331,675</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>go1.24.1</strong> published on <span data-test-id="snippet-published"><strong>Mar 4, 2025</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/encoding/json?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/golang/protobuf/proto#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="1" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/golang/protobuf/proto" data-gtmc="symbol search result package" data-gtmv="1" class="">github.com/golang/protobuf/proto</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package proto provides functionality for handling protocol buffer messages.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(b []byte, m Message) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/golang/protobuf/proto?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>161,930</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.5.4</strong> published on <span data-test-id="snippet-published"><strong>Mar 6, 2024</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/golang/protobuf/proto?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/spf13/viper#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="2" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/spf13/viper" data-gtmc="symbol search result package" data-gtmv="2" class="">github.com/spf13/viper</a> </h2> </div> <pre class="SearchSnippet-symbolCode">func Unmarshal(rawVal any, opts ...DecoderConfigOption) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/spf13/viper?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>91,587</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.20.1</strong> published on <span data-test-id="snippet-published"><strong>2 days ago</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/spf13/viper?tab=licenses" aria-label="Go to Licenses"> MIT </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/encoding/xml#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="3" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/encoding/xml" data-gtmc="symbol search result package" data-gtmv="3" class="">encoding/xml</a> </h2> <span class="go-Chip go-Chip--inverted">standard library</span> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package xml implements a simple XML 1.0 parser that understands XML name spaces.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(data []byte, v any) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/encoding/xml?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>69,812</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>go1.24.1</strong> published on <span data-test-id="snippet-published"><strong>Mar 4, 2025</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/encoding/xml?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/gogo/protobuf/proto#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="4" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/gogo/protobuf/proto" data-gtmc="symbol search result package" data-gtmv="4" class="">github.com/gogo/protobuf/proto</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package proto converts data structures to and from the wire format of protocol buffers.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(buf []byte, pb Message) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/gogo/protobuf/proto?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>63,279</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.3.2</strong> published on <span data-test-id="snippet-published"><strong>Jan 10, 2021</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/gogo/protobuf/proto?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/gopkg.in/yaml.v2#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="5" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/gopkg.in/yaml.v2" data-gtmc="symbol search result package" data-gtmv="5" class="">gopkg.in/yaml.v2</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package yaml implements YAML support for the Go language.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(in []byte, out interface{}) (err error)</pre> <div class="SearchSnippet-infoLabel"> <a href="/gopkg.in/yaml.v2?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>56,288</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v2.4.0</strong> published on <span data-test-id="snippet-published"><strong>Nov 17, 2020</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/gopkg.in/yaml.v2?tab=licenses" aria-label="Go to Licenses"> Apache-2.0 </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/joho/godotenv#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="6" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/joho/godotenv" data-gtmc="symbol search result package" data-gtmv="6" class="">github.com/joho/godotenv</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package godotenv is a go port of the ruby dotenv library (https://github.com/bkeepers/dotenv)</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(str string) (envMap map[string]string, err error)</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/joho/godotenv?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>42,160</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.5.1</strong> published on <span data-test-id="snippet-published"><strong>Feb 5, 2023</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/joho/godotenv?tab=licenses" aria-label="Go to Licenses"> MIT </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/BurntSushi/toml#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="7" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/BurntSushi/toml" data-gtmc="symbol search result package" data-gtmv="7" class="">github.com/BurntSushi/toml</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package toml implements decoding and encoding of TOML files.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(data []byte, v any) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/BurntSushi/toml?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>35,068</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.5.0</strong> published on <span data-test-id="snippet-published"><strong>Mar 18, 2025</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/BurntSushi/toml?tab=licenses" aria-label="Go to Licenses"> MIT </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/google.golang.org/protobuf/proto#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="8" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/google.golang.org/protobuf/proto" data-gtmc="symbol search result package" data-gtmv="8" class="">google.golang.org/protobuf/proto</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package proto provides functions operating on protocol buffer messages.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(b []byte, m Message) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/google.golang.org/protobuf/proto?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>31,232</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.36.6</strong> published on <span data-test-id="snippet-published"><strong>4 days ago</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/google.golang.org/protobuf/proto?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/crypto/elliptic#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="9" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/crypto/elliptic" data-gtmc="symbol search result package" data-gtmv="9" class="">crypto/elliptic</a> </h2> <span class="go-Chip go-Chip--inverted">standard library</span> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package elliptic implements the standard NIST P-224, P-256, P-384, and P-521 elliptic curves over prime fields.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(curve Curve, data []byte) (x, y *big.Int)</pre> <div class="SearchSnippet-infoLabel"> <a href="/crypto/elliptic?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>29,973</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>go1.24.1</strong> published on <span data-test-id="snippet-published"><strong>Mar 4, 2025</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/crypto/elliptic?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/gopkg.in/yaml.v3#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="10" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/gopkg.in/yaml.v3" data-gtmc="symbol search result package" data-gtmv="10" class="">gopkg.in/yaml.v3</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package yaml implements YAML support for the Go language.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(in []byte, out interface{}) (err error)</pre> <div class="SearchSnippet-infoLabel"> <a href="/gopkg.in/yaml.v3?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>25,354</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v3.0.1</strong> published on <span data-test-id="snippet-published"><strong>May 27, 2022</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/gopkg.in/yaml.v3?tab=licenses" aria-label="Go to Licenses"> Apache-2.0, MIT </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/golang.org/x/crypto/ssh#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="11" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/golang.org/x/crypto/ssh" data-gtmc="symbol search result package" data-gtmv="11" class="">golang.org/x/crypto/ssh</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package ssh implements an SSH client and server.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(data []byte, out interface{}) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/golang.org/x/crypto/ssh?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>20,083</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v0.36.0</strong> published on <span data-test-id="snippet-published"><strong>Mar 5, 2025</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/golang.org/x/crypto/ssh?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/encoding/asn1#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="12" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/encoding/asn1" data-gtmc="symbol search result package" data-gtmv="12" class="">encoding/asn1</a> </h2> <span class="go-Chip go-Chip--inverted">standard library</span> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package asn1 implements parsing of DER-encoded ASN.1 data structures, as defined in ITU-T Rec X.690.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(b []byte, val any) (rest []byte, err error)</pre> <div class="SearchSnippet-infoLabel"> <a href="/encoding/asn1?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>16,046</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>go1.24.1</strong> published on <span data-test-id="snippet-published"><strong>Mar 4, 2025</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/encoding/asn1?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/json-iterator/go#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="13" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/json-iterator/go" data-gtmc="symbol search result package" data-gtmv="13" class="">github.com/json-iterator/go</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package jsoniter implements encoding and decoding of JSON as defined in RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(data []byte, v interface{}) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/json-iterator/go?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>15,692</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.1.12</strong> published on <span data-test-id="snippet-published"><strong>Sep 11, 2021</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/json-iterator/go?tab=licenses" aria-label="Go to Licenses"> MIT </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/ghodss/yaml#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="14" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/ghodss/yaml" data-gtmc="symbol search result package" data-gtmv="14" class="">github.com/ghodss/yaml</a> </h2> </div> <pre class="SearchSnippet-symbolCode">func Unmarshal(y []byte, o interface{}) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/ghodss/yaml?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>15,192</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.0.0</strong> published on <span data-test-id="snippet-published"><strong>Mar 27, 2017</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/ghodss/yaml?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause, MIT </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/gopkg.in/mgo.v2/bson#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="15" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/gopkg.in/mgo.v2/bson" data-gtmc="symbol search result package" data-gtmv="15" class="">gopkg.in/mgo.v2/bson</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package bson is an implementation of the BSON specification for Go: http://bsonspec.org It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(in []byte, out interface{}) (err error)</pre> <div class="SearchSnippet-infoLabel"> <a href="/gopkg.in/mgo.v2/bson?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>13,001</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v2.0.0-...-a6b53ec</strong> published on <span data-test-id="snippet-published"><strong>Aug 16, 2019</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/gopkg.in/mgo.v2/bson?tab=licenses" aria-label="Go to Licenses"> BSD-2-Clause, BSD-2-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/sigs.k8s.io/yaml#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="16" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/sigs.k8s.io/yaml" data-gtmc="symbol search result package" data-gtmv="16" class="">sigs.k8s.io/yaml</a> </h2> </div> <pre class="SearchSnippet-symbolCode">func Unmarshal(yamlBytes []byte, obj interface{}, opts ...JSONOpt) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/sigs.k8s.io/yaml?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>9,045</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.4.0</strong> published on <span data-test-id="snippet-published"><strong>Oct 24, 2023</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/sigs.k8s.io/yaml?tab=licenses" aria-label="Go to Licenses"> Apache-2.0, BSD-3-Clause, MIT </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/bwmarrin/discordgo#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="17" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">variable</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/bwmarrin/discordgo" data-gtmc="symbol search result package" data-gtmv="17" class="">github.com/bwmarrin/discordgo</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package discordgo provides Discord binding for Go</p> <pre class="SearchSnippet-symbolCode">var Unmarshal func(src []byte, v interface{}) error = json.Unmarshal</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/bwmarrin/discordgo?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>8,737</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v0.28.1</strong> published on <span data-test-id="snippet-published"><strong>Apr 1, 2024</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/bwmarrin/discordgo?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/google.golang.org/protobuf/encoding/protojson#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="18" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/google.golang.org/protobuf/encoding/protojson" data-gtmc="symbol search result package" data-gtmv="18" class="">google.golang.org/protobuf/encoding/protojson</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package protojson marshals and unmarshals protocol buffer messages as JSON format.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(b []byte, m proto.Message) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/google.golang.org/protobuf/encoding/protojson?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>6,393</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.36.6</strong> published on <span data-test-id="snippet-published"><strong>4 days ago</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/google.golang.org/protobuf/encoding/protojson?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/cosmos/gogoproto/proto#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="19" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/cosmos/gogoproto/proto" data-gtmc="symbol search result package" data-gtmv="19" class="">github.com/cosmos/gogoproto/proto</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package proto converts data structures to and from the wire format of protocol buffers.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(buf []byte, pb Message) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/cosmos/gogoproto/proto?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>5,591</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.7.0</strong> published on <span data-test-id="snippet-published"><strong>Aug 13, 2024</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/cosmos/gogoproto/proto?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/golang/protobuf/jsonpb#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="20" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/golang/protobuf/jsonpb" data-gtmc="symbol search result package" data-gtmv="20" class="">github.com/golang/protobuf/jsonpb</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package jsonpb provides functionality to marshal and unmarshal between a protocol buffer message and JSON.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(r io.Reader, m proto.Message) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/golang/protobuf/jsonpb?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>4,816</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.5.4</strong> published on <span data-test-id="snippet-published"><strong>Mar 6, 2024</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/golang/protobuf/jsonpb?tab=licenses" aria-label="Go to Licenses"> BSD-3-Clause </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/k8s.io/apimachinery/pkg/util/yaml#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="21" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/k8s.io/apimachinery/pkg/util/yaml" data-gtmc="symbol search result package" data-gtmv="21" class="">k8s.io/apimachinery/pkg/util/yaml</a> </h2> </div> <pre class="SearchSnippet-symbolCode">func Unmarshal(data []byte, v interface{}) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/k8s.io/apimachinery/pkg/util/yaml?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>3,800</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v0.32.3</strong> published on <span data-test-id="snippet-published"><strong>Dec 6, 2024</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/k8s.io/apimachinery/pkg/util/yaml?tab=licenses" aria-label="Go to Licenses"> Apache-2.0 </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/gocql/gocql#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="22" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/gocql/gocql" data-gtmc="symbol search result package" data-gtmv="22" class="">github.com/gocql/gocql</a> </h2> </div> <p class="SearchSnippet-infoLabel" data-test-id="snippet-synopsis">Package gocql implements a fast and robust Cassandra driver for the Go programming language.</p> <pre class="SearchSnippet-symbolCode">func Unmarshal(info TypeInfo, data []byte, value interface{}) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/gocql/gocql?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>3,404</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v1.7.0</strong> published on <span data-test-id="snippet-published"><strong>Sep 25, 2024</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/gocql/gocql?tab=licenses" aria-label="Go to Licenses"> Apache-2.0 </a> </span> </div> </div> <div class="SearchSnippet" > <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/segmentio/kafka-go#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="23" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/segmentio/kafka-go" data-gtmc="symbol search result package" data-gtmv="23" class="">github.com/segmentio/kafka-go</a> </h2> </div> <pre class="SearchSnippet-symbolCode">func Unmarshal(b []byte, v interface{}) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/segmentio/kafka-go?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>3,346</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v0.4.47</strong> published on <span data-test-id="snippet-published"><strong>Dec 13, 2023</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/segmentio/kafka-go?tab=licenses" aria-label="Go to Licenses"> MIT </a> </span> </div> </div> <div class="SearchSnippet" id="more-results"> <div class="SearchSnippet-headerContainer"> <h2> <a href="/github.com/goccy/go-json#Unmarshal" data-gtmc="symbol search result symbol" data-gtmv="24" data-test-id="snippet-title"> <span class="SearchSnippet-symbolKind">function</span> Unmarshal </a> <span class="SearchSnippet-header-dash">in</span> <a href="/github.com/goccy/go-json" data-gtmc="symbol search result package" data-gtmv="24" class="">github.com/goccy/go-json</a> </h2> </div> <pre class="SearchSnippet-symbolCode">func Unmarshal(data []byte, v interface{}) error</pre> <div class="SearchSnippet-infoLabel"> <a href="/github.com/goccy/go-json?tab=importedby" aria-label="Go to Imported By"> <span class="go-textSubtle">Imported by </span><strong>3,170</strong> </a> <span class="go-textSubtle">|</span> <span class="go-textSubtle"> <strong>v0.10.5</strong> published on <span data-test-id="snippet-published"><strong>Jan 25, 2025</strong></span> </span> <span class="go-textSubtle">|</span> <span data-test-id="snippet-license"> <a href="/github.com/goccy/go-json?tab=licenses" aria-label="Go to Licenses"> MIT </a> </span> </div> </div> </div> <div class="SearchPagination" data-test-id="pagination"> Didn't find what you were looking for? <a href="/search?limit=100&m=symbol&q=Unmarshal#more-results" data-gtmc="search more results">Show more results.</a></div> </div> </main> <footer class="go-Footer"> <div class="go-Footer-links"> <div class="go-Footer-linkColumn"> <a href="https://go.dev/solutions" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Why Go </a> <a href="https://go.dev/solutions#use-cases" class="go-Footer-link" data-gtmc="footer link"> Use Cases </a> <a href="https://go.dev/solutions#case-studies" class="go-Footer-link" data-gtmc="footer link"> Case Studies </a> </div> <div class="go-Footer-linkColumn"> <a href="https://learn.go.dev/" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Get Started </a> <a href="https://play.golang.org" class="go-Footer-link" data-gtmc="footer link"> Playground </a> <a href="https://tour.golang.org" class="go-Footer-link" data-gtmc="footer link"> Tour </a> <a href="https://stackoverflow.com/questions/tagged/go?tab=Newest" class="go-Footer-link" data-gtmc="footer link"> Stack Overflow </a> <a href="https://go.dev/help" class="go-Footer-link" data-gtmc="footer link"> Help </a> </div> <div class="go-Footer-linkColumn"> <a href="https://pkg.go.dev" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Packages </a> <a href="/std" class="go-Footer-link" data-gtmc="footer link"> Standard Library </a> <a href="/golang.org/x" class="go-Footer-link" data-gtmc="footer link"> Sub-repositories </a> <a href="https://pkg.go.dev/about" class="go-Footer-link" data-gtmc="footer link"> About Go Packages </a> </div> <div class="go-Footer-linkColumn"> <a href="https://go.dev/project" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> About </a> <a href="https://go.dev/dl/" class="go-Footer-link" data-gtmc="footer link">Download</a> <a href="https://go.dev/blog" class="go-Footer-link" data-gtmc="footer link">Blog</a> <a href="https://github.com/golang/go/issues" class="go-Footer-link" data-gtmc="footer link"> Issue Tracker </a> <a href="https://go.dev/doc/devel/release.html" class="go-Footer-link" data-gtmc="footer link"> Release Notes </a> <a href="https://blog.golang.org/go-brand" class="go-Footer-link" data-gtmc="footer link"> Brand Guidelines </a> <a href="https://go.dev/conduct" class="go-Footer-link" data-gtmc="footer link"> Code of Conduct </a> </div> <div class="go-Footer-linkColumn"> <a href="https://www.twitter.com/golang" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Connect </a> <a href="https://www.twitter.com/golang" class="go-Footer-link" data-gtmc="footer link"> Twitter </a> <a href="https://github.com/golang" class="go-Footer-link" data-gtmc="footer link">GitHub</a> <a href="https://invite.slack.golangbridge.org/" class="go-Footer-link" data-gtmc="footer link"> Slack </a> <a href="https://reddit.com/r/golang" class="go-Footer-link" data-gtmc="footer link"> r/golang </a> <a href="https://www.meetup.com/pro/go" class="go-Footer-link" data-gtmc="footer link"> Meetup </a> <a href="https://golangweekly.com/" class="go-Footer-link" data-gtmc="footer link"> Golang Weekly </a> </div> </div> <div class="go-Footer-bottom"> <img class="go-Footer-gopher" width="1431" height="901" src="/static/shared/gopher/pilot-bust-1431x901.svg" alt="Gopher in flight goggles"> <ul class="go-Footer-listRow"> <li class="go-Footer-listItem"> <a href="https://go.dev/copyright" data-gtmc="footer link">Copyright</a> </li> <li class="go-Footer-listItem"> <a href="https://go.dev/tos" data-gtmc="footer link">Terms of Service</a> </li> <li class="go-Footer-listItem"> <a href="http://www.google.com/intl/en/policies/privacy/" data-gtmc="footer link" target="_blank" rel="noopener"> Privacy Policy </a> </li> <li class="go-Footer-listItem"> <a href="https://go.dev/s/pkgsite-feedback" target="_blank" rel="noopener" data-gtmc="footer link"> Report an Issue </a> </li> <li class="go-Footer-listItem"> <button class="go-Button go-Button--text go-Footer-toggleTheme js-toggleTheme" aria-label="Theme Toggle"> <img data-value="auto" class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/brightness_6_gm_grey_24dp.svg" alt="System theme"> <img data-value="dark" class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/brightness_2_gm_grey_24dp.svg" alt="Dark theme"> <img data-value="light" class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/light_mode_gm_grey_24dp.svg" alt="Light theme"> <p> Theme Toggle </p> </button> </li> <li class="go-Footer-listItem"> <button class="go-Button go-Button--text go-Footer-keyboard js-openShortcuts" aria-label="Shorcuts Modal"> <img class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/keyboard_grey_24dp.svg" alt=""> <p> Shortcuts Modal </p> </button> </li> </ul> <a class="go-Footer-googleLogo" href="https://google.com" target="_blank"rel="noopener" data-gtmc="footer link"> <img class="go-Footer-googleLogoImg" height="24" width="72" src="/static/shared/logo/google-white.svg" alt="Google logo"> </a> </div> </footer> <dialog id="jump-to-modal" class="JumpDialog go-Modal go-Modal--md js-modal"> <form method="dialog" data-gmtc="jump to form" aria-label="Jump to Identifier"> <div class="Dialog-title go-Modal-header"> <h2>Jump to</h2> <button class="go-Button go-Button--inline" type="button" data-modal-close data-gtmc="modal button" aria-label="Close" > <img class="go-Icon" height="24" width="24" src="/static/shared/icon/close_gm_grey_24dp.svg" alt="" /> </button> </div> <div class="JumpDialog-filter"> <input class="JumpDialog-input go-Input" autocomplete="off" type="text"> </div> <div class="JumpDialog-body go-Modal-body"> <div class="JumpDialog-list"></div> </div> <div class="go-Modal-actions"> <button class="go-Button" data-test-id="close-dialog">Close</button> </div> </form> </dialog> <dialog class="ShortcutsDialog go-Modal go-Modal--sm js-modal"> <form method="dialog"> <div class="go-Modal-header"> <h2>Keyboard shortcuts</h2> <button class="go-Button go-Button--inline" type="button" data-modal-close data-gtmc="modal button" aria-label="Close" > <img class="go-Icon" height="24" width="24" src="/static/shared/icon/close_gm_grey_24dp.svg" alt="" /> </button> </div> <div class="go-Modal-body"> <table> <tbody> <tr><td class="ShortcutsDialog-key"> <strong>?</strong></td><td> : This menu</td> </tr> <tr><td class="ShortcutsDialog-key"> <strong>/</strong></td><td> : Search site</td> </tr> <tr><td class="ShortcutsDialog-key"> <strong>f</strong> or <strong>F</strong></td><td> : Jump to</td> </tr> <tr> <td class="ShortcutsDialog-key"><strong>y</strong> or <strong>Y</strong></td> <td> : Canonical URL</td> </tr> </tbody> </table> </div> <div class="go-Modal-actions"> <button class="go-Button" data-test-id="close-dialog">Close</button> </div> </form> </dialog> <section class="Cookie-notice js-cookieNotice"> <div>go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. <a target=_blank href="https://policies.google.com/technologies/cookies">Learn more.</a></div> <div><button class="go-Button">Okay</button></div> </section> <script> // this will throw if the querySelector can鈥檛 find the element const gtmId = document.querySelector('.js-gtmID').dataset.gtmid; if (!gtmId) { throw new Error('Google Tag Manager ID not found'); } loadScript(`https://www.googletagmanager.com/gtm.js?id=${gtmId}`); </script> <noscript> <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W8MVQXG" height="0" width="0" style="display:none;visibility:hidden"> </iframe> </noscript> <script> loadScript('/static/frontend/search/search.js') </script> </body> </html>