Josh Baker
f4c008206b
added wildcard test
2016-08-24 15:50:18 -07:00
Josh Baker
ffbbc90c13
remove commented code
2016-08-24 13:35:10 -07:00
Josh Baker
4fceff029c
unicode patterns
2016-08-24 13:26:44 -07:00
Josh Baker
a3ee82ebf9
Merge branch 'wildcard-match' of https://github.com/minio/gjson into minio-wildcard-match
2016-08-24 12:22:52 -07:00
Josh Baker
67e38154bd
sped up map[string]interface{} unmarshalling
2016-08-24 12:12:07 -07:00
Harshavardhana
0608a3853a
wildcard: Fix wildcard match behavior to support wide range.
...
This helps in supporting all types of patterns in wildcard match.
2016-08-24 11:58:10 -07:00
Josh Baker
0669befdc3
fixed typo in example
2016-08-24 08:06:20 -07:00
Josh Baker
c6faea1947
addtional test
2016-08-22 08:26:44 -07:00
Josh Baker
16ecfe5970
addtional test
2016-08-22 08:25:33 -07:00
Josh Baker
696d68fd62
minor optimizations
2016-08-22 07:39:41 -07:00
Josh Baker
b661f333a3
Update README.md
2016-08-22 06:13:09 -07:00
Josh Baker
ad7311075f
Update README.md
2016-08-22 06:11:47 -07:00
Josh Baker
cd422a3e10
Removed Multi. Added Parse and result.Get funcs
...
The Multi field was too bulky. fixes #4
Added a Parse(json) function that will do a simple parse of json.
Added a result.Get(path) function that returns a child result.
Added Bool(), Int(), and Float() to result type. fixes #5
2016-08-22 06:05:51 -07:00
Josh Baker
44a8706c89
Merge branch 'master' of https://github.com/tidwall/gjson
2016-08-22 05:22:42 -07:00
Josh Baker
e42a0961e6
added go tag to codeblock
2016-08-21 10:56:31 -07:00
Josh Baker
29fecf859f
minor performance optz
2016-08-21 10:10:55 -07:00
Josh Baker
360ac81635
additional example
2016-08-21 09:56:42 -07:00
Josh Baker
d498de1770
Update README.md
2016-08-21 07:30:33 -07:00
Josh Baker
cec0cb946f
small bump in performance
2016-08-21 07:17:11 -07:00
Josh Baker
0757a4d1e7
get nested array values, fixes #4
...
To get all the friends last names use:
"friends.#.last"
{
"friends": [
{"first": "James", "last": "Murphy"},
{"first": "Roger", "last": "Craig"}
]
}
2016-08-21 06:57:13 -07:00
Josh Baker
260ef19a2e
fix path issue
2016-08-21 05:35:33 -07:00
Josh Baker
1b1f52024e
minor optimization
2016-08-21 05:32:34 -07:00
Josh Baker
3a4fec0606
added more comments and a couple minor optimizations
2016-08-19 13:51:52 -07:00
Josh Baker
0e6e567424
optimistic optimizations
2016-08-19 11:22:59 -07:00
Josh Baker
a721b7ad07
minor optimizations
2016-08-18 07:18:24 -07:00
Josh Baker
8be3ed7605
reset count on append, fixes #3
2016-08-15 04:56:55 -07:00
Josh Baker
e865d89fc7
explain Exists() function
2016-08-12 16:26:06 -07:00
Josh Baker
a93ef25a70
fixed exists check
2016-08-12 08:51:56 -07:00
Josh Baker
725f3caa55
exists function
2016-08-12 08:39:08 -07:00
Josh Baker
09a331fffa
Merge pull request #2 from radarhere/patch-1
...
Fixed typos
2016-08-12 08:20:07 -07:00
Andrew Murray
9595c3a8fe
Fixed typos
2016-08-13 00:22:09 +10:00
Josh Baker
57e7f71ee6
escape character in path
2016-08-11 19:16:21 -07:00
Josh Baker
1e941a433e
added path escaping
2016-08-11 18:51:29 -07:00
Josh Baker
06af1af34e
fixed benchmark bug with jsonparser
...
Big thanks to dlsspy for pointing this out.
2016-08-11 18:15:15 -07:00
Josh Baker
d0d9241c76
Merge pull request #1 from kennygrant/master
...
Fix 'does not validate' wording in readme
2016-08-11 14:09:48 -07:00
Kenny Grant
af28028c01
Fix 'does not validate' wording in readme
2016-08-11 22:05:25 +01:00
Josh Baker
9a63765fe5
added jsonparser benchmark
2016-08-11 10:53:50 -07:00
Josh Baker
a4005bcf0f
added stack frame. faster
2016-08-11 10:39:38 -07:00
Josh Baker
f4afb106da
first commit
2016-08-11 07:50:34 -07:00