-
The change made in https://github.com/skyscreamer/JSONassert/commit/2f3576c72a28db3292740e5c67ffbc856394af96 means that the JSONException that's pulled in transitively is now a checked exception. As a…
-
## Quick Description ##
In several projects we check for JSON data (REST, Google Analytics, etc.) These checks often result in a big unreadable text blob as an error message.
We can do better. We sh…
-
This should be removed https://github.com/skyscreamer/JSONassert/blob/master/src/main/java/org/json/JSONString.java
We are getting this warning in our build:
[WARNING] Found duplicate and differen…
-
The following example:
```java
JSONAssert.assertEquals("null", "null", false);
```
result in this exception:
```
org.json.JSONException: Unparsable JSON string: null
```
but `null` is …
gimmi updated
3 years ago
-
JSONAssert.assertEquals(expectedJson, actualJsonObj ,
new CustomComparator(JSONCompareMode.STRICT,
new Customization("apiTimestamp", (o1, o2) -> true)));
the above statement was working fine w…
-
Hello,
Is there a way to generate a pact with more than one item in list/array using pact-consumer-builder ?
When I fill a java list with two items, the pact-consumer-builder only generate a DslPa…
-
**Read the documentation, maybe we already have the feature**
There's a [section about numerical comparisons](https://github.com/lukas-krecan/JsonUnit/blob/e22495b9f0859f57c7a66d639d8df02dc89df6a6/RE…
-
If you were to have a json object that contains an array of objects
```json
{
"array": [
{ "name": "object1" },
{ "name": "object2" }
]
}
```
and you try to assert tha…
-
Assert field by field is annoying and sometimes we want to compare the whole result.
Something like
```kotlin
val request = ChargeRequest(listOf(ItemRequest(1, "test", 1)), MetadataRequest("000…
-
I tried JSONassert this morning. The first thing I did was to take something that was output from a test an an org.json.JSONObject structure. I serialized this using toString(), and pasted that stri…