cleanup: include/: move json.h to data/json.h

move json.h to data/json.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 15:50:42 -04:00
commit 0abdacf3a4
8 changed files with 649 additions and 634 deletions

View file

@ -7,7 +7,7 @@
#include <zephyr/types.h>
#include <stdbool.h>
#include <ztest.h>
#include <json.h>
#include <data/json.h>
struct test_nested {
int nested_int;