Expose JSONCodec and XmlCodec
[yangtools.git] / codec / yang-data-codec-gson / src / main / java / org / opendaylight / yangtools / yang / data / codec / gson / JSONCodecFactory.java
index cf37cc952a56d94cb1a238853346581717a204d6..c043b8c3bbcfb4447add418cea109360f6166673 100644 (file)
@@ -146,6 +146,11 @@ public abstract sealed class JSONCodecFactory extends AbstractCodecFactory<JSONC
         return iidCodec;
     }
 
+    @Override
+    public JSONCodec<YangInstanceIdentifier> instanceIdentifierCodec() {
+        return iidCodec;
+    }
+
     @Override
     protected final JSONCodec<?> int8Codec(final Int8TypeDefinition type) {
         return new NumberJSONCodec<>(AbstractIntegerStringCodec.from(type));