|
||||
File indexing completed on 2025-01-18 10:01:42
0001 /* json-utils.h - JSON utility API 0002 * 0003 * This file is part of JSON-GLib 0004 * Copyright 2015 Emmanuele Bassi 0005 * 0006 * This library is free software; you can redistribute it and/or 0007 * modify it under the terms of the GNU Lesser General Public 0008 * License as published by the Free Software Foundation; either 0009 * version 2.1 of the License, or (at your option) any later version. 0010 * 0011 * This library is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0014 * Lesser General Public License for more details. 0015 * 0016 * You should have received a copy of the GNU Lesser General Public 0017 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 0018 */ 0019 0020 #ifndef __JSON_UTILS_H__ 0021 #define __JSON_UTILS_H__ 0022 0023 #if !defined(__JSON_GLIB_INSIDE__) && !defined(JSON_COMPILATION) 0024 #error "Only <json-glib/json-glib.h> can be included directly." 0025 #endif 0026 0027 #include <json-glib/json-types.h> 0028 0029 G_BEGIN_DECLS 0030 0031 JSON_AVAILABLE_IN_1_2 0032 JsonNode * json_from_string (const char *str, 0033 GError **error); 0034 JSON_AVAILABLE_IN_1_2 0035 char * json_to_string (JsonNode *node, 0036 gboolean pretty); 0037 0038 G_END_DECLS 0039 0040 #endif /* __JSON_UTILS_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |