public static void assertJsonPartEquals(Object expected, Object fullJson, String path, Configuration configuration) {
        Diff diff = create(expected, fullJson, FULL_JSON, path, configuration);
        diff.failIfDifferent();
    }
public static void assertJsonPartEquals ( Object expected , Object fullJson , String path , Configuration configuration ) { Diff diff = create ( expected , fullJson , FULL_JSON , path , configuration ) ; diff . failIfDifferent ( ) ; }
Compares part of the JSON. Path has this format "root.array[0].value".