Archimedes Trajano
b79f0550a2
Store problematic JSON in exception
...
Rather than logging the JSON that is problematic store it as part of the exception. Remove the logger since it is no longer being used.
9 years ago
Archimedes Trajano
cba33fba05
Store problematic JSON in exception
...
Rather than logging the JSON that is problematic store it as part of the exception. Remove the logger since it is no longer being used.
9 years ago
Archimedes Trajano
9dd0cd9fb3
Provide a constructor that captures the JSON
...
Rather than "debug" the JSON which does not allow further processing for the exception capture and put it inside the exception data.
9 years ago
Archimedes Trajano
724565dca6
Remove unused logger from class
...
The logger is not used in this class. Might as well remove it.
9 years ago
Jochen Berger
a048edb1cb
consistently use setArrayIndex for arrays instead of setProperty
9 years ago
Jochen Berger
8c2b7b6761
fix handling of REQUIRE_PROPERTIES with nested objects
9 years ago
Jochen Berger
77583725b4
Only arrays will be passed to JsonProvider.toIterable(Object) anyway
9 years ago
Elias Ross
fb9c621e5c
unescape strings in comparison, to deal with tabs, etc.
9 years ago
Elias Ross
c759a20188
Allow JSON values to be directly used in criteria matching
...
This is useful for matching against arrays of primitives, for example.
9 years ago
kallestenflo
09977aa745
Merge pull request #110 from jochenberger/improvements
...
Some small improvements
9 years ago
kallestenflo
5e3bd2d8c6
Merge pull request #109 from jochenberger/ignore-eclipse-build-dir
...
add Eclipse build directory to .gitignore
9 years ago
Jochen Berger
d7c5fc34ea
use utility method to concatenate Strings
9 years ago
Jochen Berger
e9c9c19138
don't reassign method parameters
9 years ago
Jochen Berger
e29858db73
add a Utility method to concatenate CharSequences
9 years ago
Jochen Berger
e64ba61157
add Eclipse build directory to .gitignore
9 years ago
Kalle Stenflo
070eb1d9d2
Downgraded AssertJ to 2.1.0 (version 3 is java 8)
9 years ago
kallestenflo
7ee88cbed0
Merge pull request #74 from DALDEI/master
...
Fix array out of bounds exception on '$.' path expression
9 years ago
kallestenflo
df459577d0
Merge pull request #102 from forsthofer/master
...
osgi dependency to gson, jackson, json-smart made optional
9 years ago
Kalle Stenflo
f5d6382e4d
Merge branch 'dnetmj-dnetmj-patch-1'
9 years ago
Kalle Stenflo
bb200153e8
Merge branch 'dnetmj-patch-1' of git://github.com/dnetmj/JsonPath into dnetmj-dnetmj-patch-1
9 years ago
Kalle Stenflo
13e71d792c
Merge branch 'jochenberger-update-dependencies'
9 years ago
Kalle Stenflo
81b1d522c8
Fixed issue in test.
9 years ago
Jochen Berger
1da1eb2487
update libs (breaks src.test.java.com.jayway.jsonpath.old.IssuesTest.issue_76()), see #76
9 years ago
dnetmj
0aa5bb6a09
Fix parsing of quoted strings
...
Pretty printing was not distinguishing between single-quote delimited strings and double-quote delimited strings, which in earlier revisions caused an exception which the latest revision caught and swallowed, but didn't really fix. This change refactors the prettyPrint method as a state machine which correctly handles both quoting and escaping within strings. The isEscaped method is eliminated.
9 years ago
Matt Greenwood
f76d556fb6
changed JSONArray -> interface Collection to catch all use-cases
10 years ago
Matt Greenwood
f40063bf02
added case for length of map or JSONArray of values
10 years ago
Matt Greenwood
10ee2b4e54
updated markdown
10 years ago
Matt Greenwood
a4c4cd58fa
Removed the need for parsing the path - its no longer the path, its now the function name
10 years ago
Matt Greenwood
528b97c2ec
reverting lotto.json formatting
10 years ago
Matt Greenwood
d38ec66af2
reverting lotto.json formatting
10 years ago
Matt Greenwood
6c083d3a51
reverted change to lotto.json, added test case for functions in predicates
10 years ago
Matt Greenwood
1a0ea4b559
initial commit of function support providing math / JSON helper routines in path execution
10 years ago
Matt Greenwood
89e71a9353
initial commit of function support providing math / JSON helper routines in path execution
10 years ago
Franz Forsthofer
d3f4252d5e
osgi dependency to gson, jackson, json-smart made optional
...
Change-Id: Id75d66b053e22530dd0dd1b9afe3314e931da455
10 years ago
kallestenflo
244c3e2cbe
Merge pull request #98 from platan/patch-1
...
Tweaking configuration examples with current API
10 years ago
Marcin Mielnicki
51076180f7
Tweaking configuration examples with current API
10 years ago
Kalle Stenflo
8a40b0420a
Fixed issue #79 . Index out of bounds.
10 years ago
Kalle Stenflo
dbc7e90904
Fixed issue #97 . IndexOutOfBoundsException in DocumentContext.delete
10 years ago
Tamas Adam
b5c175d04d
Added convert method for path value in-situ conversion.
10 years ago
Tamas Adam
0042ae9624
Added missing test file.
10 years ago
Tamas Adam
48544d14ab
Fix for list element removel if multiple path elements match.
10 years ago
Tamas Adam
3cc47259fa
Using the more approtiate PathNotFoundException if old key in rename map was not found.
10 years ago
Tamas Adam
dbff1d8b48
Fix for rename on non-existing old key - an InvalidPathException is thrown.
10 years ago
Tamas Adam
4b04a1434b
Code clenup, added mven plugin to gradle build.
10 years ago
Tamas Adam
f16ce7c2c6
Added renameKey feature to rename a key value found in a map path to a new key value.
10 years ago
kallestenflo
780c92f647
Update README.md
10 years ago
Kalle Stenflo
c03dcf77c5
Tests for issue #76
10 years ago
Kalle Stenflo
e89798e407
Renamed boon to gatling and changed about URL:s.
10 years ago
kallestenflo
7ffa115ce8
Update README.md
10 years ago
kallestenflo
35b26f3fb4
Update README.md
10 years ago