Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: segmentio/encoding
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.6
Choose a base ref
...
head repository: segmentio/encoding
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 10 commits
  • 60 files changed
  • 5 contributors

Commits on Nov 2, 2022

  1. Added Position field to the Tokenizer (#128)

    The Position gives a means to index into the Tokenizer's underlying byte slice.
    This enables use cases where the caller is planning on making edits to the JSON
    document but wants to leverage the copy func to optimize data movement and/or 
    to copy remaining bytes if the caller wants to exit the tokenizing loop early.
    Steve van Loben Sels authored Nov 2, 2022
    Configuration menu
    Copy the full SHA
    b2d0aeb View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Revert #128, update docs and add tests to Tokenizer.Remaining() (#129)

    Steve van Loben Sels authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    3b49d71 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. fix encoding RawMessage that contains leading space (#136)

    * fix encoding RawMessage that contains leading space.
    
    * add json/bugs/issue136
    extemporalgenome authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    6dfc1b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. json: configurable numeric decoding (#137)

    * json: stylistic improvements, better code reuse
    
    Initial benchmark results show this change
    to be approximately performance-neutral.
    
    * bump tested Go versions to just 1.20 and 1.21
    * json: add ParseFlags values UseInt64, UseUint64, UseBigInt
    * json: use atomic.Pointer
    extemporalgenome authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    3055897 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    93030d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Add protobuf rewrite rule overrides (#144)

    * allow rewrite rule overrides and add bitwise-or rewriter
    
    * finish docs
    
    * remove repeated, these apply a little odd in the rewriter
    kalamay authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    a8de6b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2025

  1. json: encode \b and \f like the Go 1.22 stdlib does (#145)

    * go.mod: upgrade to 1.23 (oldest supported by Go project)
    
    * json: encode `\b` and `\f` like the Go 1.22 stdlib does
    
    https://go-review.googlesource.com/c/go/+/521675
    extemporalgenome authored Jun 9, 2025
    Configuration menu
    Copy the full SHA
    a54af38 View commit details
    Browse the repository at this point in the history
  2. lint fixes (#146)

    extemporalgenome authored Jun 9, 2025
    Configuration menu
    Copy the full SHA
    7a0606c View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2025

  1. perf(json): address performance penalty found in v0.4.0+ (#149)

    * perf(json): revert decodeInto helper changes for object/array/string
    
    * per(json): add benchmarks for decoding object and array with mixed members
    dominicbarnes authored Jul 18, 2025
    Configuration menu
    Copy the full SHA
    7b9ca4e View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2025

  1. lint fixes (#151)

    * json: use reflect.PointerTo (avoid deprecated naming)
    * json: use maps.Copy
    * lint: remove unused consts/fields
    * exclude stdlib copied tests from linting
    * json: partial lint fixes
    extemporalgenome authored Jul 29, 2025
    Configuration menu
    Copy the full SHA
    fd40685 View commit details
    Browse the repository at this point in the history
Loading