PackageTrack
Sign in Get early access

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 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 372
  1. v1.19.1-0.20260514151005-7d8b3821e9d2 14 May 2026 pre-release

    Nothing published for this version

  2. v1.19.1-0.20260514150010-896d5690900c 14 May 2026 pre-release

    Nothing published for this version

  3. v1.19.1-0.20260514145942-27a65e44f8b8 14 May 2026 pre-release

    Nothing published for this version

  4. v1.19.1-0.20260512153703-e5cb9d0e0a59 12 May 2026 pre-release

    Nothing published for this version

  5. v1.19.0 08 May 2026
    Release notes

    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

    Open source →
  6. v1.18.1-0.20241010104348-4d230282c0e3 10 Oct 2024 pre-release

    Nothing published for this version

  7. v1.18.1-0.20241010103852-10d26621bfe1 10 Oct 2024 pre-release

    Nothing published for this version

  8. v1.18.1-0.20241008011410-4a91ee1eba17 08 Oct 2024 pre-release

    Nothing published for this version

  9. v1.18.0 02 Oct 2024
    Release notes

    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.

    Open source →
  10. v1.17.4-0.20241002034520-133f42ce2d99 02 Oct 2024 pre-release

    Nothing published for this version

  11. v1.17.4-0.20241002030310-92dff34b255b 02 Oct 2024 pre-release

    Nothing published for this version

  12. v1.17.3 30 Jul 2024
    Release notes

    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.

    Open source →
  13. v1.17.3-0.20240730114727-5ab551f3ac05 30 Jul 2024 pre-release

    Nothing published for this version

  14. v1.17.2 29 Jul 2024
    Release notes

    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.

    Open source →
  15. v1.17.2-0.20240729140806-28d458b14c40 29 Jul 2024 pre-release

    Nothing published for this version

  16. v1.17.2-0.20240603011206-c2bc5a409a22 03 Jun 2024 pre-release

    Nothing published for this version

  17. v1.17.2-0.20240423021258-2ba56cc0866e 23 Apr 2024 pre-release

    Nothing published for this version

  18. v1.17.2-0.20240415034324-5d0d40c89f4c 15 Apr 2024 pre-release

    Nothing published for this version

  19. v1.17.1 15 Feb 2024
    Release notes

    Fix backspace and form-feed for Go 1.22

    Open source →
  20. v1.17.1-0.20240215035140-bbf40bb0e4f4 15 Feb 2024 pre-release

    Nothing published for this version

  21. v1.17.1-0.20240215024613-711c6fe9ecb7 15 Feb 2024 pre-release

    Nothing published for this version

  22. v1.17.1-0.20240214201512-0f87896dc39d 14 Feb 2024 pre-release

    Nothing published for this version

  23. v1.17.1-0.20240214201405-b622071bec95 14 Feb 2024 pre-release

    Nothing published for this version

  24. v1.17.0 22 Sep 2023
    Release notes

    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
    // Prichard
    

    See #333

    Open source →
  25. v1.16.1-0.20230922171356-6ee9f877d683 22 Sep 2023 pre-release

    Nothing published for this version

  26. v1.16.1-0.20230922165414-be1bb7d64ac7 22 Sep 2023 pre-release

    Nothing published for this version

  27. v1.16.0 09 Aug 2023
    Release notes

    Mention the dig modifier

    Open source →
  28. v1.15.1-0.20230809220936-1ff915dd81b0 09 Aug 2023 pre-release

    Nothing published for this version

  29. v1.15.1-0.20230809215446-e8e87f2a00dc 09 Aug 2023 pre-release

    Nothing published for this version

  30. v1.15.0 27 Jul 2023
    Release notes

    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

    Open source →
  31. v1.14.5-0.20230727132349-8d2c36ffa413 27 Jul 2023 pre-release

    Nothing published for this version

  32. v1.14.4 22 Nov 2022

    Nothing published for this version

  33. v1.14.4-0.20221122015224-f37cc44a28aa 22 Nov 2022 pre-release

    Nothing published for this version

  34. v1.14.4-0.20221121063746-1ed0d856e3ff 21 Nov 2022 pre-release

    Nothing published for this version

  35. v1.14.4-0.20221114041528-0fc85398c823 14 Nov 2022 pre-release

    Nothing published for this version

  36. v1.14.4-0.20221031145638-25df3e611a9c 31 Oct 2022 pre-release

    Nothing published for this version

  37. v1.14.3 16 Aug 2022

    Nothing published for this version

  38. v1.14.3-0.20220809134128-9e848707d6d3 09 Aug 2022 pre-release

    Nothing published for this version

  39. v1.14.2 05 Aug 2022

    Nothing published for this version

  40. v1.14.2-0.20220621204908-980f12c60e5b 21 Jun 2022 pre-release

    Nothing published for this version

  41. v1.14.2-0.20220615085908-72953c747288 15 Jun 2022 pre-release

    Nothing published for this version

  42. v1.14.2-0.20220613133827-f37ee93f135f 13 Jun 2022 pre-release

    Nothing published for this version

  43. v1.14.2-0.20220514173326-e20a0bfa6196 14 May 2022 pre-release

    Nothing published for this version

  44. v1.14.1 19 Apr 2022

    Nothing published for this version

  45. v1.14.1-0.20220419221433-c3bb2c39ba20 19 Apr 2022 pre-release

    Nothing published for this version

  46. v1.14.1-0.20220322163019-56c0a0aa5b8f 22 Mar 2022 pre-release

    Nothing published for this version

  47. v1.14.0 02 Feb 2022

    Nothing published for this version

  48. v1.13.1-0.20220202115831-1abd525f6d62 02 Feb 2022 pre-release

    Nothing published for this version

  49. v1.13.1-0.20220202115703-fce6fec0983d 02 Feb 2022 pre-release

    Nothing published for this version

  50. v1.13.1-0.20220202115259-05e9ee14237d 02 Feb 2022 pre-release

    Nothing published for this version

  51. v1.13.1-0.20220202114911-82f549e6ee78 02 Feb 2022 pre-release

    Nothing published for this version

  52. v1.13.1-0.20220202114304-e4fc67c92aee 02 Feb 2022 pre-release

    Nothing published for this version

  53. v1.13.1-0.20220114011920-f47e17d70abf 14 Jan 2022 pre-release

    Nothing published for this version

  54. v1.13.0 13 Jan 2022

    Nothing published for this version

  55. v1.12.2-0.20211210162312-ba95ef80b501 10 Dec 2021 pre-release

    Nothing published for this version

  56. v1.12.2-0.20211208164211-65bbebbdf740 08 Dec 2021 pre-release

    Nothing published for this version

  57. v1.12.1 01 Dec 2021

    Nothing published for this version

  58. v1.12.1-0.20211130172250-bd7621203094 30 Nov 2021 pre-release

    Nothing published for this version

  59. v1.12.1-0.20211130171836-9eae1fa87b82 30 Nov 2021 pre-release

    Nothing published for this version

  60. v1.12.0 25 Nov 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive