lyb CHANGE attribute support
Also some fixes and tests included.
diff --git a/src/parser_json.c b/src/parser_json.c
index 1f720f8..3fee626 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -601,7 +601,7 @@
*name = '\0';
name++;
prefix = str;
- module = (struct lys_module *)ly_ctx_get_module(parent_module->ctx, prefix, NULL, 1);
+ module = (struct lys_module *)ly_ctx_get_module(parent_module->ctx, prefix, NULL, 0);
if (!module) {
LOGVAL(ctx, LYE_INELEM, LY_VLOG_NONE, NULL, name);
goto error;