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: tidwall/gjson
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.1
Choose a base ref
...
head repository: tidwall/gjson
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.6.3
Choose a head ref
  • 14 commits
  • 5 files changed
  • 5 contributors

Commits on Apr 20, 2020

  1. Fix typo in .Get comment

    Jalitha authored Apr 20, 2020
    Configuration menu
    Copy the full SHA
    65616e6 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2020

  1. update Result.Bool to use golang bool parsing

    golang has several tools that already parse boolean values in the standard library. 
    Specifically strconv.ParseBool(string)
    https://golang.org/pkg/strconv/#ParseBool
    "ParseBool returns the boolean value represented by the string. It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. Any other value returns an error."
    
    This change returns any matching ParseBool string to that boolean value, or if the string is not one of those values, the error being thrown, returns a false.
    deefdragon authored May 30, 2020
    Configuration menu
    Copy the full SHA
    7db3b02 View commit details
    Browse the repository at this point in the history
  2. add test of different strings

    Added test for each of the different accepted values for ParseBool, and a few arbitrary results that should return false.
    Jeffrey Koehler committed May 30, 2020
    Configuration menu
    Copy the full SHA
    78a5979 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Fixed small readme typos

    ader1990 authored Jul 27, 2020
    Configuration menu
    Copy the full SHA
    2679aa8 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. Update README.md

    tidwall authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    393cb5c View commit details
    Browse the repository at this point in the history
  2. Delete .travis.yml

    tidwall authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    23c5e26 View commit details
    Browse the repository at this point in the history
  3. Create go.yml

    tidwall authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    37d8669 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Merge pull request #179 from ader1990/master

    Fixed small readme typos
    tidwall authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    140bf12 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #163 from Jalitha/patch-1

    Fix typo in .Get comment
    tidwall authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    20b6add View commit details
    Browse the repository at this point in the history
  3. Merge branch 'deef0000dragon1-ParseBool' of https://github.com/deef00…

    …00dragon1/gjson into deef0000dragon1-deef0000dragon1-ParseBool
    tidwall committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    ed7c6c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eeddc54 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    71341b2 View commit details
    Browse the repository at this point in the history
  6. Adjusted test

    tidwall committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    2f043b7 View commit details
    Browse the repository at this point in the history
  7. Better safe integer range for numbers

    This commit optimizes the safe float to int conversion function
    by using the full -9007199254740991 to 9007199254740991 range as
    suggested at:
    
    https://tc39.es/ecma262/#sec-number.min_safe_integer
    
    closes #174
    tidwall committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    5100d69 View commit details
    Browse the repository at this point in the history
Loading