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

@ -15,7 +15,7 @@
#include <string.h>
#include <zephyr/types.h>
#include "json.h"
#include <data/json.h>
struct token {
enum json_tokens type;