package com.github.nsnjson;

import com.fasterxml.jackson.databind.JsonNode;
import com.github.nsnjson.decoding.Decoder;
import com.github.nsnjson.encoding.*;

import java.util.Optional;

public class Driver {

    public static Optional<JsonNode> encode(JsonNode value) {
        return Encoder.encode(value);
    }

    public static Optional<JsonNode> encode(JsonNode value, Encoding encoding) {
        return Encoder.encode(value, encoding);
    }

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

}
@@ -105,23 +105,17 @@
 ecoding.
-Decoder
+*
 ;%0Aimport
@@ -562,9 +562,158 @@
 %0A    %7D%0A%0A
+    public static Optional%3CJsonNode%3E decode(JsonNode presentation, Decoding decoding) %7B%0A        return Decoder.decode(presentation, decoding);%0A    %7D%0A
 %7D

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