Commit Graph

59 Commits

Author SHA1 Message Date
Josh Baker c052998284
Merge pull request #45 from realzhili/update-readme
Add example for array type
2021-04-02 07:48:51 -07:00
Zhili Zhang f66b25b66c Add example for array type 2021-04-01 23:35:00 -07:00
tidwall 0821062cf3 Upgrade gjson 2021-03-30 07:27:34 -07:00
Josh Baker 8c1b233baa
Create FUNDING.yml 2021-03-28 09:02:24 -07:00
Josh Baker 7daedb9a98
Update README.md 2021-02-11 16:29:39 -07:00
tidwall d459aeb081 Updated gjson dependency 2021-01-30 12:53:05 -07:00
tidwall b547b7aea4 Updated gjson package 2020-12-25 06:48:52 -07:00
tidwall 779ffea01a Updated gjson package 2020-12-22 17:57:05 -07:00
Josh Baker 8dabb14c8e
Create go.yml 2020-11-03 12:04:29 -07:00
Josh Baker 902c0d70a8
Delete .travis.yml 2020-11-03 12:04:21 -07:00
Josh Baker 7a4d8934bb
Update README.md 2020-11-03 12:04:05 -07:00
Josh Baker 79e91a7eec
Merge pull request #41 from ysmood/master
Sync the versions of gjson and pretty
2020-09-30 10:07:48 -07:00
Yad Smood 1383c0de93 Sync the versions of gjson and pretty
So that other projects doesn't have to download multiple versions of the gjson.
Here's a sample go.sum file if we don't sync the versions, as you can see we have pretty v1.0.0 and v1.0.1:

github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
github.com/tidwall/pretty v1.0.1 h1:WE4RBSZ1x6McVVC8S/Md+Qse8YUv6HRObAx6ke00NY8=
github.com/tidwall/pretty v1.0.1/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
2020-08-29 08:03:06 +09:00
tidwall 11cb24d842 Fix trailing curly bracket
close #36
2020-04-01 05:03:04 -07:00
tidwall fcc1b99819 Add Go modules 2020-03-31 03:59:30 -07:00
tidwall 4f7b016772 Append new members to objects
The Set operation now appends key values to objects when that key
previously did not exist. Before the key value was prepended.

Close #35
2020-03-31 03:52:06 -07:00
tidwall bac348a61c Removed appengine build 2020-03-31 03:28:25 -07:00
Josh Baker 25fb082a20
Merge pull request #28 from donatello/fix-err-shadow
Fix error variable shadowing
2019-02-28 13:39:17 -07:00
Aditya Manthramurthy d46b5fa72e Fix error variable shadowing 2019-02-28 12:18:29 -08:00
Josh Baker c943cc8c8d
Merge pull request #24 from Jawshua/string-escaping-failure
Fix backslashes not being escaped correctly
2018-11-15 03:30:24 -07:00
Joshua Welsh 82a6448692
Ensure backslashes are always escaped 2018-11-07 10:46:21 +00:00
Joshua Welsh dc363de894
Added backslash escaping test case 2018-11-07 10:28:15 +00:00
tidwall 48d34adceb Merge branch 'jkearse3-master' 2018-09-17 10:18:57 -07:00
tidwall 10d4d354a8 Merge branch 'master' of https://github.com/jkearse3/sjson into jkearse3-master 2018-09-17 10:18:41 -07:00
tidwall 478db4c4dd Merge branch 'hypoactiv-fix-backslashes' 2018-09-17 10:17:46 -07:00
tidwall ce26db08c7 Merge branch 'fix-backslashes' of https://github.com/hypoactiv/sjson into hypoactiv-fix-backslashes 2018-09-17 10:17:31 -07:00
tidwall e88dc924b1 Merge branch 'chen56-master' 2018-09-17 10:12:02 -07:00
tidwall 64c369cb32 Fix conflicts 2018-09-17 10:11:44 -07:00
tidwall 5ee61cb072 Merge branch 'master' of https://github.com/tidwall/sjson 2018-09-17 10:09:15 -07:00
Josh Baker bbdaf966da
Merge pull request #7 from h8liu/patch-1
Remove unnecessary `</a>` in README.md
2018-09-17 10:09:06 -07:00
tidwall 07d1870671 Merge branch 'hypoactiv-fix-benchmarks' 2018-09-17 10:07:05 -07:00
tidwall d31703b6c9 Merge branch 'fix-benchmarks' of https://github.com/hypoactiv/sjson into hypoactiv-fix-benchmarks 2018-09-17 10:06:43 -07:00
tidwall 0ffb6cd769 Fix operations with escaped dots in keys
This commit fixes a bug where keys with dots could not be
correctly updated.

fixes #10 and #19
2018-09-17 09:56:37 -07:00
tidwall 6f2b60cb22 Fix Delete misfire
This commit fixes an issue where there Delete operation would sometimes remove a previous element.

closes #21
2018-09-17 08:50:59 -07:00
tidwall d43f0343ba Move benchmarks to new repo 2018-09-17 08:12:19 -07:00
Johnnie Kearse III 8e7438a8ac
Merge pull request #1 from jkearse3/gae_compatible
refactor to offer Google App Engine Standard compatibility.
2018-09-10 16:21:52 -04:00
Johnnie Kearse III 4a47ac366f refactor to offer Google App Engine Standard compatibility. 2018-09-10 16:15:01 -04:00
tidwall bd0e703dc8 fix tests 2018-08-31 16:55:59 -06:00
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