1/* Copyright (c) 2013, Vsevolod Stakhov 2 * All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * * Redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer. 8 * * Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 17 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 18 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 19 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 20 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 21 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 */ 23 |
24#ifdef HAVE_CONFIG_H 25#include "config.h" 26#endif 27 |
28#include "ucl.h" 29#include "ucl_internal.h" 30#include "ucl_chartable.h" |
31#ifdef HAVE_FLOAT_H 32#include <float.h> 33#endif 34#ifdef HAVE_MATH_H 35#include <math.h> 36#endif |
37 38/** 39 * @file rcl_emitter.c 40 * Serialise UCL object to various of output formats 41 */ 42 43 44static void ucl_obj_write_json (ucl_object_t *obj, --- 793 unchanged lines hidden --- |