All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fge.jsonpatch.JsonPatchOperationFactory Maven / Gradle / Ivy

Go to download

JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7386) implementation in Java

There is a newer version: 1.16
Show newest version
package com.github.fge.jsonpatch;

import com.fasterxml.jackson.databind.JsonNode;

public interface JsonPatchOperationFactory
{
    /**
     * Gets the name of the JsonPatchOperation that this factory will create.
     * @return
     */
    public String getOperationName();

    /**
     * Gets the class of JsonPatchOperation that this factory will create.
     * @return
     */
    public Class getOperationClass();

    /**
     * Creates a JsonPatchOperation from a JsonNode
     * @param node The JsonNode to create the JsonPatchOperation from
     * @return The JsonPatchOperation
     * @throws JsonPatchException
     */
    public JsonPatchOperation create(JsonNode node) throws JsonPatchException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy