1 Parsed input: { 2 "string_of_digits": "123", 3 "regular_number": 222, 4 "decimal_number": 99.55, 5 "boolean_true": true, 6 "boolean_false": false, 7 "int64_number": 2147483649, 8 "negative_number": -321321321, 9 "a_null": null, 10 } 11 Result is not NULL 12 new_obj.string_of_digits json_object_get_type()=string 13 new_obj.string_of_digits json_object_get_int()=123 14 new_obj.string_of_digits json_object_get_int64()=123 15 new_obj.string_of_digits json_object_get_uint64()=123 16 new_obj.string_of_digits json_object_get_boolean()=1 17 new_obj.string_of_digits json_object_get_double()=123.000000 18 new_obj.regular_number json_object_get_type()=int 19 new_obj.regular_number json_object_get_int()=222 20 new_obj.regular_number json_object_get_int64()=222 21 new_obj.regular_number json_object_get_uint64()=222 22 new_obj.regular_number json_object_get_boolean()=1 23 new_obj.regular_number json_object_get_double()=222.000000 24 new_obj.decimal_number json_object_get_type()=double 25 new_obj.decimal_number json_object_get_int()=99 26 new_obj.decimal_number json_object_get_int64()=99 27 new_obj.decimal_number json_object_get_uint64()=99 28 new_obj.decimal_number json_object_get_boolean()=1 29 new_obj.decimal_number json_object_get_double()=99.550000 30 new_obj.boolean_true json_object_get_type()=boolean 31 new_obj.boolean_true json_object_get_int()=1 32 new_obj.boolean_true json_object_get_int64()=1 33 new_obj.boolean_true json_object_get_uint64()=1 34 new_obj.boolean_true json_object_get_boolean()=1 35 new_obj.boolean_true json_object_get_double()=1.000000 36 new_obj.boolean_false json_object_get_type()=boolean 37 new_obj.boolean_false json_object_get_int()=0 38 new_obj.boolean_false json_object_get_int64()=0 39 new_obj.boolean_false json_object_get_uint64()=0 40 new_obj.boolean_false json_object_get_boolean()=0 41 new_obj.boolean_false json_object_get_double()=0.000000 42 new_obj.int64_number json_object_get_type()=int 43 new_obj.int64_number json_object_get_int()=2147483647 44 new_obj.int64_number json_object_get_int64()=2147483649 45 new_obj.int64_number json_object_get_uint64()=2147483649 46 new_obj.int64_number json_object_get_boolean()=1 47 new_obj.int64_number json_object_get_double()=2147483649.000000 48 new_obj.negative_number json_object_get_type()=int 49 new_obj.negative_number json_object_get_int()=-321321321 50 new_obj.negative_number json_object_get_int64()=-321321321 51 new_obj.negative_number json_object_get_uint64()=0 52 new_obj.negative_number json_object_get_boolean()=1 53 new_obj.negative_number json_object_get_double()=-321321321.000000 54 new_obj.a_null json_object_get_type()=null 55 new_obj.a_null json_object_get_int()=0 56 new_obj.a_null json_object_get_int64()=0 57 new_obj.a_null json_object_get_uint64()=0 58 new_obj.a_null json_object_get_boolean()=0 59 new_obj.a_null json_object_get_double()=0.000000 60 61 ================================ 62 json_object_is_type: null,boolean,double,int,object,array,string 63 new_obj : 0,0,0,0,1,0,0 64 new_obj.string_of_digits : 0,0,0,0,0,0,1 65 new_obj.regular_number : 0,0,0,1,0,0,0 66 new_obj.decimal_number : 0,0,1,0,0,0,0 67 new_obj.boolean_true : 0,1,0,0,0,0,0 68 new_obj.boolean_false : 0,1,0,0,0,0,0 69 new_obj.int64_number : 0,0,0,1,0,0,0 70 new_obj.negative_number : 0,0,0,1,0,0,0 71 new_obj.a_null : 1,0,0,0,0,0,0
This page was automatically generated by LXR 0.3.1. • OpenWrt