Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
jsondecoder.h
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #ifndef JSONDECODER_H 00005 #define JSONDECODER_H 00006 00007 #include "multitree.h" 00008 00009 #ifdef __cplusplus 00010 #include <cstddef> 00011 extern "C" { 00012 #else 00013 #include <stddef.h> 00014 #endif 00015 00016 typedef enum JSON_DECODER_RESULT_TAG 00017 { 00018 JSON_DECODER_OK, 00019 JSON_DECODER_INVALID_ARG, 00020 JSON_DECODER_PARSE_ERROR, 00021 JSON_DECODER_MULTITREE_FAILED, 00022 JSON_DECODER_ERROR 00023 } JSON_DECODER_RESULT; 00024 00025 #include "azure_c_shared_utility/umock_c_prod.h" 00026 MOCKABLE_FUNCTION(, JSON_DECODER_RESULT, JSONDecoder_JSON_To_MultiTree, char*, json, MULTITREE_HANDLE*, multiTreeHandle); 00027 00028 #ifdef __cplusplus 00029 } 00030 #endif 00031 00032 #endif /* JSONDECODER_H */
Generated on Tue Jul 12 2022 19:56:37 by
1.7.2