Add JSONValue and JSONCodec.unparseValue()
[yangtools.git] / codec / yang-data-codec-gson / src / main / java / org / opendaylight / yangtools / yang / data / codec / gson / NullJSONCodec.java
index 3ab79f517ce11e909e6d9cb3fa6880ba2deb5a5f..88204e5404f44cb7e870415f73a2885c158e4dad 100644 (file)
@@ -34,4 +34,9 @@ final class NullJSONCodec implements JSONCodec<Object> {
         // NOOP since codec is unknown.
         LOG.warn("Call of the serializeToWriter method on null codec. No operation performed.");
     }
+
+    @Override
+    public JSONValue unparseValue(final Object value) {
+        throw new UnsupportedOperationException();
+    }
 }