A modelling and serializer library for Microsoft Azure IoTHub client applications
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
This library implements a serializer library to be used in projects involving Microsoft Azure IoT Hub connectivity. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: jsondecoder.c
- Revision:
- 20:58a5540c9721
- Parent:
- 19:9e5049fd4c5b
- Child:
- 21:6d3dea1abd9c
diff -r 9e5049fd4c5b -r 58a5540c9721 jsondecoder.c --- a/jsondecoder.c Sun Jan 08 11:12:39 2017 -0800 +++ b/jsondecoder.c Fri Jan 13 18:41:01 2017 -0800 @@ -6,6 +6,7 @@ #include <crtdbg.h> #endif #include "azure_c_shared_utility/gballoc.h" +#include "azure_c_shared_utility/crt_abstractions.h" #include "jsondecoder.h" #include <stdio.h> @@ -14,7 +15,6 @@ #include <stddef.h> #define IsWhiteSpace(A) (((A) == 0x20) || ((A) == 0x09) || ((A) == 0x0A) || ((A) == 0x0D)) -#define ISDIGIT(c) (((c>='0') && (c<='9'))?1:0) typedef struct PARSER_STATE_TAG {