libyang CHANGE headers includes cleanup using include-what-you-use tool (#1098)
diff --git a/src/parser_json.c b/src/parser_json.c
index 5b59fed..e3e1bdf 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -12,22 +12,14 @@
* https://opensource.org/licenses/BSD-3-Clause
*/
-#include "common.h"
+#define _GNU_SOURCE
-#include <stdint.h>
#include <stdlib.h>
#include <string.h>
+#include "common.h"
+#include "config.h"
#include "context.h"
-#include "dict.h"
-#include "log.h"
-#include "plugins_types.h"
-#include "set.h"
-#include "tree_data.h"
-#include "tree_data_internal.h"
-#include "tree_schema.h"
-#include "xml.h"
-#include "validation.h"
/**
* @brief JSON-parser's implementation of ly_type_resolve_prefix() callback to provide mapping between prefixes used