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

@ -9,7 +9,7 @@
#include <errno.h>
#include <zephyr/jwt.h>
#include <json.h>
#include <data/json.h>
#ifdef CONFIG_JWT_SIGN_RSA
#include <mbedtls/pk.h>