PackageTrack
Sign in Get early access

github.com/minio/simdjson-go

v0.4.5 #873 most downloaded on Go modules minio/simdjson-go

What this package is like to depend on

Last release 12 months ago

26 Aug 2025

Release timing varies

gaps range from 8 days to 1.3 years

Most releases are documented

notes for 11 of 16 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

61 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

61 releases · Feb 2020 to Aug 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 61
  1. v0.4.6-0.20250826165903-20f0d8f7fb4b 26 Aug 2025 pre-release

    Nothing published for this version

  2. v0.4.6-0.20250616085317-cac9cd14dd09 16 Jun 2025 pre-release

    Nothing published for this version

  3. v0.4.6-0.20250616085148-53771bd2e085 16 Jun 2025 pre-release

    Nothing published for this version

  4. v0.4.6-0.20250306131712-da7fdcfec83b 06 Mar 2025 pre-release

    Nothing published for this version

  5. v0.4.6-0.20250303224012-1a328090fbe4 03 Mar 2025 pre-release

    Nothing published for this version

  6. v0.4.6-0.20231116094823-04d21cddf993 16 Nov 2023 pre-release

    Nothing published for this version

  7. v0.4.5 11 Mar 2023
    Release notes

    What's Changed

    Full Changelog: v0.4.4...v0.4.5

    Open source →
  8. v0.4.5-0.20230311191656-d82c779820b2 11 Mar 2023 pre-release

    Nothing published for this version

  9. v0.4.4 20 Feb 2023
    Release notes

    Revert change to CPUID functionality and update CI tests.

    Open source →
  10. v0.4.4-0.20230220165457-e473c1e060c6 20 Feb 2023 pre-release

    Nothing published for this version

  11. v0.4.3 25 Oct 2022
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.4.2...v0.4.3

    Open source →
    Release notes

    func (a * Array ) DeleteElems(fn func(i Iter ) bool )

    DeleteElems calls the provided function for every element. If the function returns true the element is deleted in the array. Example ¶

    if !SupportedCPU() { // Fake it fmt.Println("Found array\nModified: {"Image":{"Animated":false,"Height":600,"IDs":[943,38793]},"Alt":"Image of city"}") return } input := { "Image": { "Animated": false, "Height": 600, "IDs": [ 116, 943, 234, 38793 ] }, "Alt": "Image of city" } pj, err := Parse([]byte(input), nil) if err != nil { log.Fatal(err) } i := pj.Iter() i.AdvanceInto()

    // Grab root _, root, err := i.Root(nil) if err != nil { log.Fatal(err) } // Grab top object obj, err := root.Object(nil) if err != nil { log.Fatal(err) }

    // Find element in path. elem, err := obj.FindPath(nil, "Image", "IDs") if err != nil { log.Fatal(err) } fmt.Println("Found", elem.Type) if elem.Type == TypeArray { array, err := elem.Iter.Array(nil) if err != nil { log.Fatal(err) } // Delete all integer elements that are < 500 array.DeleteElems(func(i Iter) bool { if id, err := i.Int(); err == nil { return id < 500 } return false }) } b, err := root.MarshalJSON() if err != nil { log.Fatal(err) } fmt.Println("Modified:", string(b))

    Output: Found array Modified: {"Image":{"Animated":false,"Height":600,"IDs":[943,38793]},"Alt":"Image of city"}

    Open source →
  12. v0.4.3-0.20221025075743-bd4a38d4fca1 25 Oct 2022 pre-release

    Nothing published for this version

  13. v0.4.3-0.20221024204222-655936b0396e 24 Oct 2022 pre-release

    Nothing published for this version

  14. v0.4.3-0.20221019001001-93637d6543ae 19 Oct 2022 pre-release

    Nothing published for this version

  15. v0.4.3-0.20221017091150-d7877ade8a9b 17 Oct 2022 pre-release

    Nothing published for this version

  16. v0.4.3-0.20221017043916-2ba2c3c190ba 17 Oct 2022 pre-release

    Nothing published for this version

  17. v0.4.3-0.20220322021643-e7da8e44866a 22 Mar 2022 pre-release

    Nothing published for this version

  18. v0.4.3-0.20220310102241-b1184712b8a1 10 Mar 2022 pre-release

    Nothing published for this version

  19. v0.4.3-0.20220304150656-7f95387e9809 04 Mar 2022 pre-release

    Nothing published for this version

  20. v0.4.2 24 Feb 2022
    Release notes

    What's Changed

    Full Changelog: v0.4.1...v0.4.2

    Open source →
  21. v0.4.1 22 Feb 2022
    Release notes

    What's Changed

    Full Changelog: v0.4.0...v0.4.1

    Open source →
  22. v0.4.1-0.20220322021643-e7da8e44866a 22 Mar 2022 pre-release

    Nothing published for this version

  23. v0.4.1-0.20220222185200-9743702f0b3d 22 Feb 2022 pre-release

    Nothing published for this version

  24. v0.4.1-0.20220125175907-68d6648cff07 25 Jan 2022 pre-release

    Nothing published for this version

  25. v0.4.0 02 Dec 2021
    Release notes

    What's Changed

    Full Changelog: v0.3.0...v0.4.0

    Open source →
    Release notes

    func (a * Array ) ForEach(fn func(i Iter ))

    ForEach calls the provided function for every element.

    Open source →
  26. v0.3.1-0.20211202192405-2455af936666 02 Dec 2021 pre-release

    Nothing published for this version

  27. v0.3.1-0.20211202165916-d95f712bbb52 02 Dec 2021 pre-release

    Nothing published for this version

  28. v0.3.1-0.20211201175300-e885dec6c1fd 01 Dec 2021 pre-release

    Nothing published for this version

  29. v0.3.0 24 Nov 2021
    Release notes

    What's Changed

    New Contributors

    • @gqgs made their first contribution in #39

    Full Changelog: v0.2.2...v0.3.0

    Open source →
    Release notes

    func (i * Iter ) FindElement(dst * Element , path ... string ) (* Element , error )

    FindElement allows searching for fields and objects by path from the iter and forward, moving into root and objects, but not arrays. For example "Image", "Url" will search the current root/object for an "Image" object and return the value of the "Url" element. ErrPathNotFound is returned if any part of the path cannot be found. If the tape contains an error it will be returned. The iter will not be advanced. Example ¶

    if !SupportedCPU() { // Fake it fmt.Println("int\n100 <nil>") return } input := { "Image": { "Animated": false, "Height": 600, "IDs": [ 116, 943, 234, 38793 ], "Thumbnail": { "Height": 125, "Url": "http://www.example.com/image/481989943", "Width": 100 }, "Title": "View from 15th Floor", "Width": 800 }, "Alt": "Image of city" } pj, err := Parse([]byte(input), nil) if err != nil { log.Fatal(err) } i := pj.Iter()

    // Find element in path. elem, err := i.FindElement(nil, "Image", "Thumbnail", "Width") if err != nil { log.Fatal(err) }

    // Print result: fmt.Println(elem.Type) fmt.Println(elem.Iter.StringCvt())

    Output: int 100 <nil>

    Open source →
  30. v0.2.3-0.20211124125324-0c4d67fe0653 24 Nov 2021 pre-release

    Nothing published for this version

  31. v0.2.3-0.20211124112004-d9aecff32165 24 Nov 2021 pre-release

    Nothing published for this version

  32. v0.2.3-0.20211124094301-ebc09ef18fd8 24 Nov 2021 pre-release

    Nothing published for this version

  33. v0.2.3-0.20210621070559-fa6f3f0738b4 21 Jun 2021 pre-release

    Nothing published for this version

  34. v0.2.2 18 May 2021
    Release notes

    type ParserOption func(pj *internalParsedJson) error

    ParserOption is a parser option.

    Open source →
  35. v0.2.2-0.20210517164542-6accf0ca09a9 17 May 2021 pre-release

    Nothing published for this version

  36. v0.2.2-0.20210406123007-650cff7aea34 06 Apr 2021 pre-release

    Nothing published for this version

  37. v0.2.1 25 Jan 2021
    Release notes

    Indicate float conversion due to overflows (#31)

    As flag to tape that indicates that an integer was converted to float due to int64/uint64 limits.

    Fixes #25

    Open source →
    Release notes

    func (a * Array ) AsStringCvt() ([] string , error )

    AsStringCvt returns the array values as a slice of strings. Scalar types are converted. Root, Object and Arrays are not supported an will return an error if found.

    Open source →
  38. v0.2.1-0.20210125182806-c66cb857f229 25 Jan 2021 pre-release

    Nothing published for this version

  39. v0.2.1-0.20210118143515-3d975b7ac79c 18 Jan 2021 pre-release

    Nothing published for this version

  40. v0.2.0 18 Jan 2021
    Release notes

    Number parsing fix and optimization (#27)

    Remove `GOLANG_NUMBER_PARSING` and remove the imprecise parsing and fix up the actual number parsing in Go.

    By default, everything that looked like a number would be accepted and a lot of errors were not caught.

    Uints will now actually be used if numbers are above maximum int64 and below uint64 with no float point markers.

    Even with all the additional checks we are still faster:

    ```
    λ benchcmp before.txt after.txt
    benchmark old ns/op new ns/op delta
    BenchmarkParseNumber/Pos/63bit-32 91.9 75.9 -17.41%
    BenchmarkParseNumber/Neg/63bit-32 106 77.2 -27.17%
    BenchmarkParseNumberFloat-32 190 72.5 -61.84%
    BenchmarkParseNumberFloatExp-32 212 98.6 -53.49%
    BenchmarkParseNumberBig-32 401 175 -56.36%
    BenchmarkParseNumberRandomBits-32 420 230 -45.24%
    BenchmarkParseNumberRandomFloats-32 305 172 -43.61%
    ```
    ... and full benchmarks:
    ```
    benchmark old ns/op new ns/op delta
    BenchmarkApache_builds-32 137091 139556 +1.80%
    BenchmarkCanada-32 30705862 19000003 -38.12%
    BenchmarkCitm_catalog-32 1921474 2093471 +8.95%
    BenchmarkGithub_events-32 77611 77873 +0.34%
    BenchmarkGsoc_2018-32 1220291 1215097 -0.43%
    BenchmarkInstruments-32 366747 374568 +2.13%
    BenchmarkMarine_ik-32 27410259 18343775 -33.08%
    BenchmarkMesh-32 8200018 5896043 -28.10%
    BenchmarkMesh_pretty-32 9793413 6947830 -29.06%
    BenchmarkNumbers-32 1967319 1213924 -38.30%
    BenchmarkRandom-32 1072071 1042956 -2.72%
    BenchmarkTwitter-32 645530 645529 -0.00%
    BenchmarkTwitterescaped-32 1014456 1022548 +0.80%
    ```

    Open source →
  41. v0.1.6-0.20210108142543-fcc30eb4c15f 08 Jan 2021 pre-release

    Nothing published for this version

  42. v0.1.6-0.20201117050608-2f3d86001767 17 Nov 2020 pre-release

    Nothing published for this version

  43. v0.1.6-0.20200812220214-ef1a2b46ad37 12 Aug 2020 pre-release

    Nothing published for this version

  44. v0.1.5 30 Jun 2020

    Nothing published for this version

  45. v0.1.5-0.20200630212848-d0e69ad5cd0b 30 Jun 2020 pre-release

    Nothing published for this version

  46. v0.1.5-0.20200629213450-fee6ac8233d4 29 Jun 2020 pre-release

    Nothing published for this version

  47. v0.1.5-0.20200626222352-3ad39a3a93d5 26 Jun 2020 pre-release

    Nothing published for this version

  48. v0.1.5-0.20200430212000-d175d963fec4 30 Apr 2020 pre-release

    Nothing published for this version

  49. v0.1.5-0.20200410041114-41d55684e232 10 Apr 2020 pre-release

    Nothing published for this version

  50. v0.1.5-0.20200306225311-93bb96058c4f 06 Mar 2020 pre-release

    Nothing published for this version

  51. v0.1.5-0.20200303142138-b17fe061ea37 03 Mar 2020 pre-release

    Nothing published for this version

  52. v0.1.4 02 Mar 2020
    Release notes

    type CompressMode uint8

    const ( // CompressNone no compression whatsoever. CompressNone CompressMode = iota // CompressFast will apply light compression, // but will not deduplicate strings which may affect deserialization speed. CompressFast // CompressDefault applies light compression and deduplicates strings. CompressDefault // CompressBest CompressBest )

    Open source →
  53. v0.1.4-0.20200217105327-e5d89ebf895f 17 Feb 2020 pre-release

    Nothing published for this version

  54. v0.1.3 16 Feb 2020

    Nothing published for this version

  55. v0.1.2 13 Feb 2020

    Nothing published for this version

  56. v0.1.1 12 Feb 2020

    Nothing published for this version

  57. v0.1.0 11 Feb 2020

    Nothing published for this version

  58. v0.0.0-20250826165903-20f0d8f7fb4b 26 Aug 2025 pre-release

    Nothing published for this version

  59. v0.0.0-20231116094823-04d21cddf993 16 Nov 2023 pre-release

    Nothing published for this version

  60. v0.0.0-20200211181334-36b7c3132c01 11 Feb 2020 pre-release

    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