- this.converter = new JsonStringConverter<>(bindingDOMCodecServices);
- // Create the data object
- QName pathQname = QName.create("gnpy:path", "2020-09-09", "result");
- LOG.debug("the Qname is {} / namesapce {} ; module {}; ", pathQname, pathQname.getNamespace(),
- pathQname.getModule());
- YangInstanceIdentifier yangId = YangInstanceIdentifier.of(pathQname);
- Result result = converter.createDataObjectFromJsonString(yangId, gnpyResponseString,
- JSONCodecFactorySupplier.DRAFT_LHOTKA_NETMOD_YANG_JSON_02);