Josh Baker
3bd9019eb0
Update README.md
2018-08-31 10:54:01 -06:00
Jonathan Schroeder
051af16d40
Fix incorrect handling of backslash at end of strings
2018-07-03 21:32:43 -04:00
Jonathan Schroeder
c22dac75a6
Fatal -> Fatalf in benchmarks to fix 'go test'
2018-07-03 21:26:08 -04:00
Chen Peng
c52ef8602e
#10 Unclear how to escape a dot . in JSON keys
2018-03-24 18:26:58 +08:00
He Liu
c3a1d188d2
Remove unnecessary `</a>` in README.md
2017-07-10 22:40:36 -05:00
Josh Baker
6a22caf2fd
append non-existent array element
2016-12-12 09:54:44 -07:00
Josh Baker
af43ab8ae1
added error check
2016-12-08 21:30:51 -07:00
Josh Baker
dd55d65792
add performance link
2016-11-21 14:12:16 -07:00
Josh Baker
d87100011f
Added benchmarks comparing other libraries. See #3
2016-11-21 14:07:39 -07:00
Josh Baker
97e172d6f2
Merge pull request #5 from cat2neat/fix-wrong-output
...
fixed a wrong output
2016-11-21 10:16:52 -07:00
cat2neat
774e43df47
fixed a wrong output
2016-11-21 13:14:46 +00:00
Josh Baker
ed74e8aec8
fixed misspellings closed #4
2016-11-04 06:00:44 -07:00
Josh Baker
c09484b534
mention jsoned
2016-10-25 21:06:31 -07:00
Josh Baker
a47c1e938e
Added ReplaceInPlace Option
...
Allows for replacing the input byte slice instead of allocating new
memory.
2016-10-25 12:42:02 -07:00
Josh Baker
e6094ca119
Optimistic Set
...
Added the Option type with the Optimistic field. This field can be
used when the caller expects that a value at the specified path
already exists. The Set operation will used `gjson.Get` on the
full path to the value and replace it with the new value.
If Optimistic is specified but the value is not found, then the
normal Set operation is used.
Using Optimistic can speed up a Set operation by as much as 4x.
2016-10-25 11:10:26 -07:00
Josh Baker
a126b5c160
refactor
2016-10-25 09:23:56 -07:00
Josh Baker
b6f2170e37
allow replace of non-nested with nested values
2016-10-20 16:16:18 -07:00
Josh Baker
39c9d6d25d
added delete function
2016-10-20 12:06:19 -07:00
Josh Baker
d00f64d6b2
typos
2016-10-20 06:49:51 -07:00
Josh Baker
d0a112e890
typo
2016-10-18 22:51:11 -07:00
Josh Baker
4e588076ed
first commit
2016-10-18 19:06:50 -07:00