package org.zalando.logbook.json;

import lombok.AllArgsConstructor;

import java.util.function.BinaryOperator;

import static org.zalando.logbook.json.PrimitiveJsonPropertyBodyFilter.quote;

@AllArgsConstructor
final class QuotedStringReplacementOperator<T> implements BinaryOperator<String> {
    private final T replacement;

    @Override
    public String apply(String s, String s2) {
        return quote(replacement.toString());
    }
}

@@ -57,24 +57,57 @@
 Constructor;
+%0Aimport lombok.EqualsAndHashCode;
 %0A%0Aimport jav
@@ -238,16 +238,35 @@
 tructor%0A
+@EqualsAndHashCode%0A
 final cl

Fix Json Merge test.