github.com/tidwall/gjson
v1.19.0
#196 most downloaded on Go modules
tidwall/gjson
What this package is like to depend on
Last release 3 months ago
14 May 2026
Ships unpredictably
gaps range from 8 days to 1.6 years
Rarely documented
notes for 8 of 68 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
372 releases · first in 2016
6 releases in the last 12 months
see the full history below
Release timeline
372 releases · Aug 2016 to May 2026Releases
latest 60 of 372-
v1.19.1-0.20260514151005-7d8b3821e9d214 May 2026 pre-releaseNothing published for this version
-
v1.19.1-0.20260514150010-896d5690900c14 May 2026 pre-releaseNothing published for this version
-
v1.19.1-0.20260514145942-27a65e44f8b814 May 2026 pre-releaseNothing published for this version
-
v1.19.1-0.20260512153703-e5cb9d0e0a5912 May 2026 pre-releaseNothing published for this version
-
v1.19.008 May 2026Release notes
Open source →This commits adds the new All function, which is functionally
identical to ForEach, but makes it possible to iterate over
json objects using a range loop.for key, value := range res.All() {
fmt.Printf("%s %s\n", key, value)
}In addition to All, the new Keys and Values functions may be
used to iterate over only the keys or the values.for value := range res.Values() {
fmt.Printf("%s\n", value)
}Requires Go 1.23
-
v1.18.1-0.20241010104348-4d230282c0e310 Oct 2024 pre-releaseNothing published for this version
-
v1.18.1-0.20241010103852-10d26621bfe110 Oct 2024 pre-releaseNothing published for this version
-
v1.18.1-0.20241008011410-4a91ee1eba1708 Oct 2024 pre-releaseNothing published for this version
-
v1.18.002 Oct 2024Release notes
Open source →This commit includes an optimization that increases overall
performance.The gains are roughly between 20% to 300% depending on the size
of the JSON document. Larger documents will see the greates gains,
particularly when searching for keys that are deeply embedded, or
near the end of the document. -
v1.17.4-0.20241002034520-133f42ce2d9902 Oct 2024 pre-releaseNothing published for this version
-
v1.17.4-0.20241002030310-92dff34b255b02 Oct 2024 pre-releaseNothing published for this version
-
v1.17.330 Jul 2024Release notes
Open source →Adds the DisableEscapeHTML flag for disable the automatic
escaping of the HTML characters '>', '<' and '&'.The previous commit introduced a potentially breaking change by
removing HTML escaping altogether. This commit fixes that issue
by allowing the user to choose at runtime. -
v1.17.3-0.20240730114727-5ab551f3ac0530 Jul 2024 pre-releaseNothing published for this version
-
v1.17.229 Jul 2024Release notes
Open source →This commit removes the automatic escaping of html characters,
effectively rendering JSON strings in the same way as is the
builtin Go encoder with SetEscapeHTML(false).
This should not affect the quality of the resulting JSON and
hopefully will not cause any downstream issues. -
v1.17.2-0.20240729140806-28d458b14c4029 Jul 2024 pre-releaseNothing published for this version
-
v1.17.2-0.20240603011206-c2bc5a409a2203 Jun 2024 pre-releaseNothing published for this version
-
v1.17.2-0.20240423021258-2ba56cc0866e23 Apr 2024 pre-releaseNothing published for this version
-
v1.17.2-0.20240415034324-5d0d40c89f4c15 Apr 2024 pre-releaseNothing published for this version
-
v1.17.115 Feb 2024 -
v1.17.1-0.20240215035140-bbf40bb0e4f415 Feb 2024 pre-releaseNothing published for this version
-
v1.17.1-0.20240215024613-711c6fe9ecb715 Feb 2024 pre-releaseNothing published for this version
-
v1.17.1-0.20240214201512-0f87896dc39d14 Feb 2024 pre-releaseNothing published for this version
-
v1.17.1-0.20240214201405-b622071bec9514 Feb 2024 pre-releaseNothing published for this version
-
v1.17.022 Sep 2023Release notes
Open source →This commit adds the Escape function for escaping a path
component, making it possible to directly querying keys that have
special characters like dots.json := `{ "user":{ "first.name": "Janet", "last.name": "Prichard" } }` user := gjson.Get(json, "user") println(user.Get(gjson.Escape("first.name")).String()) println(user.Get(gjson.Escape("last.name")).String()) // Output: // Janet // PrichardSee #333
-
v1.16.1-0.20230922171356-6ee9f877d68322 Sep 2023 pre-releaseNothing published for this version
-
v1.16.1-0.20230922165414-be1bb7d64ac722 Sep 2023 pre-releaseNothing published for this version
-
v1.16.009 Aug 2023 -
v1.15.1-0.20230809220936-1ff915dd81b009 Aug 2023 pre-releaseNothing published for this version
-
v1.15.1-0.20230809215446-e8e87f2a00dc09 Aug 2023 pre-releaseNothing published for this version
-
v1.15.027 Jul 2023Release notes
Open source →This commit fixes an issue with ~false where the it's value was
simply the opposite of ~true. Now ~false explicitly checks for
false-ish values.Also added ~null and ~* for testing null-ish and non-existent
values.see #327
-
v1.14.5-0.20230727132349-8d2c36ffa41327 Jul 2023 pre-releaseNothing published for this version
-
v1.14.422 Nov 2022Nothing published for this version
-
v1.14.4-0.20221122015224-f37cc44a28aa22 Nov 2022 pre-releaseNothing published for this version
-
v1.14.4-0.20221121063746-1ed0d856e3ff21 Nov 2022 pre-releaseNothing published for this version
-
v1.14.4-0.20221114041528-0fc85398c82314 Nov 2022 pre-releaseNothing published for this version
-
v1.14.4-0.20221031145638-25df3e611a9c31 Oct 2022 pre-releaseNothing published for this version
-
v1.14.316 Aug 2022Nothing published for this version
-
v1.14.3-0.20220809134128-9e848707d6d309 Aug 2022 pre-releaseNothing published for this version
-
v1.14.205 Aug 2022Nothing published for this version
-
v1.14.2-0.20220621204908-980f12c60e5b21 Jun 2022 pre-releaseNothing published for this version
-
v1.14.2-0.20220615085908-72953c74728815 Jun 2022 pre-releaseNothing published for this version
-
v1.14.2-0.20220613133827-f37ee93f135f13 Jun 2022 pre-releaseNothing published for this version
-
v1.14.2-0.20220514173326-e20a0bfa619614 May 2022 pre-releaseNothing published for this version
-
v1.14.119 Apr 2022Nothing published for this version
-
v1.14.1-0.20220419221433-c3bb2c39ba2019 Apr 2022 pre-releaseNothing published for this version
-
v1.14.1-0.20220322163019-56c0a0aa5b8f22 Mar 2022 pre-releaseNothing published for this version
-
v1.14.002 Feb 2022Nothing published for this version
-
v1.13.1-0.20220202115831-1abd525f6d6202 Feb 2022 pre-releaseNothing published for this version
-
v1.13.1-0.20220202115703-fce6fec0983d02 Feb 2022 pre-releaseNothing published for this version
-
v1.13.1-0.20220202115259-05e9ee14237d02 Feb 2022 pre-releaseNothing published for this version
-
v1.13.1-0.20220202114911-82f549e6ee7802 Feb 2022 pre-releaseNothing published for this version
-
v1.13.1-0.20220202114304-e4fc67c92aee02 Feb 2022 pre-releaseNothing published for this version
-
v1.13.1-0.20220114011920-f47e17d70abf14 Jan 2022 pre-releaseNothing published for this version
-
v1.13.013 Jan 2022Nothing published for this version
-
v1.12.2-0.20211210162312-ba95ef80b50110 Dec 2021 pre-releaseNothing published for this version
-
v1.12.2-0.20211208164211-65bbebbdf74008 Dec 2021 pre-releaseNothing published for this version
-
v1.12.101 Dec 2021Nothing published for this version
-
v1.12.1-0.20211130172250-bd762120309430 Nov 2021 pre-releaseNothing published for this version
-
v1.12.1-0.20211130171836-9eae1fa87b8230 Nov 2021 pre-releaseNothing published for this version
-
v1.12.025 Nov 2021Nothing published for this version