/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
@Override public JsonPatch createDiff(final JsonStructure source, final JsonStructure target) { return provider.createDiff(source, target); }
@Override public JsonPatch createDiff(final JsonStructure source, final JsonStructure target) { return provider.createDiff(source, target); }
@Override public JsonPatch createDiff(JsonStructure source, JsonStructure target) { return DELEGATE.createDiff(source, target); }
@Override public JsonPatch createDiff(JsonStructure source, JsonStructure target) { return DELEGATE.createDiff(source, target); }
@Override public JsonPatch createDiff(final JsonStructure source, final JsonStructure target) { return jsonpProvider.createDiff(source, target); }
/** * Create a {@link JsonPatch} by comparing the source to the target as defined in * <a href="https://tools.ietf.org/html/rfc6902">RFC-6902</a>. * <p> * Applying this {@link JsonPatch} to the source you will give you the target. * * @see #createPatch(JsonArray) * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Create a {@link JsonPatch} by comparing the source to the target as defined in * <a href="https://tools.ietf.org/html/rfc6902">RFC-6902</a>. * <p> * Applying this {@link JsonPatch} to the source you will give you the target. * * @see #createPatch(JsonArray) * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Create a {@link JsonPatch} by comparing the source to the target as defined in * <a href="https://tools.ietf.org/html/rfc6902">RFC-6902</a>. * <p> * Applying this {@link JsonPatch} to the source you will give you the target. * * @see #createPatch(JsonArray) * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }
/** * Generates a JSON Patch (<a href="http://tools.ietf.org/html/rfc6902">RFC 6902</a>) * from the source and target {@code JsonStructure}. * The generated JSON Patch need not be unique. * * @param source the source * @param target the target, must be the same type as the source * @return a JSON Patch which when applied to the source, yields the target * * @since 1.1 */ public static JsonPatch createDiff(JsonStructure source, JsonStructure target) { return JsonProvider.provider().createDiff(source, target); }