package com.github.nsnjson.decoding;

import com.fasterxml.jackson.databind.JsonNode;

import java.util.Optional;

public class Decoder {

    private static final Decoding DEFAULT_DECODING = new DefaultDecoding();

    public static Optional<JsonNode> decode(JsonNode presentation) {
        return DEFAULT_DECODING.decode(presentation);
    }

}
@@ -339,9 +339,180 @@
 %0A    %7D%0A%0A
+    public static Optional%3CJsonNode%3E decode(JsonNode json, Decoding decoding) %7B%0A        return Optional.ofNullable(decoding).orElse(DEFAULT_DECODING).decode(json);%0A    %7D%0A%0A
 %7D

Implement method { Decoder @ decode(JsonNode, Decoding) }