Ejemplo n.º 1
0
    public static SWIGTYPE_p_json_array_t json_array(SWIGTYPE_p_json_value_t value)
    {
        global::System.IntPtr   cPtr = parsonPINVOKE.json_array(SWIGTYPE_p_json_value_t.getCPtr(value));
        SWIGTYPE_p_json_array_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_json_array_t(cPtr, false);

        return(ret);
    }
Ejemplo n.º 2
0
    public static SWIGTYPE_p_json_value_t json_parse_string_with_comments(string arg0)
    {
        global::System.IntPtr   cPtr = parsonPINVOKE.json_parse_string_with_comments(arg0);
        SWIGTYPE_p_json_value_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_json_value_t(cPtr, false);

        return(ret);
    }
Ejemplo n.º 3
0
    public static SWIGTYPE_p_json_value_t json_object_get_wrapping_value(SWIGTYPE_p_json_object_t arg0)
    {
        global::System.IntPtr   cPtr = parsonPINVOKE.json_object_get_wrapping_value(SWIGTYPE_p_json_object_t.getCPtr(arg0));
        SWIGTYPE_p_json_value_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_json_value_t(cPtr, false);

        return(ret);
    }
Ejemplo n.º 4
0
    public static SWIGTYPE_p_json_value_t json_array_get_value(SWIGTYPE_p_json_array_t array, uint index)
    {
        global::System.IntPtr   cPtr = parsonPINVOKE.json_array_get_value(SWIGTYPE_p_json_array_t.getCPtr(array), index);
        SWIGTYPE_p_json_value_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_json_value_t(cPtr, false);

        return(ret);
    }
Ejemplo n.º 5
0
    public static SWIGTYPE_p_json_value_t json_parse_file(string filename)
    {
        global::System.IntPtr   cPtr = parsonPINVOKE.json_parse_file(filename);
        SWIGTYPE_p_json_value_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_json_value_t(cPtr, false);

        return(ret);
    }
Ejemplo n.º 6
0
    public static SWIGTYPE_p_json_value_t json_value_init_null()
    {
        global::System.IntPtr   cPtr = parsonPINVOKE.json_value_init_null();
        SWIGTYPE_p_json_value_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_json_value_t(cPtr, false);

        return(ret);
    }
Ejemplo n.º 7
0
    public static int json_boolean(SWIGTYPE_p_json_value_t value)
    {
        int ret = parsonPINVOKE.json_boolean(SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 8
0
    public static double json_number(SWIGTYPE_p_json_value_t value)
    {
        double ret = parsonPINVOKE.json_number(SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 9
0
    public static string json_value_get_string(SWIGTYPE_p_json_value_t value)
    {
        string ret = parsonPINVOKE.json_value_get_string(SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 10
0
 public static void json_value_free(SWIGTYPE_p_json_value_t value)
 {
     parsonPINVOKE.json_value_free(SWIGTYPE_p_json_value_t.getCPtr(value));
 }
Ejemplo n.º 11
0
    public static int json_value_equals(SWIGTYPE_p_json_value_t a, SWIGTYPE_p_json_value_t b)
    {
        int ret = parsonPINVOKE.json_value_equals(SWIGTYPE_p_json_value_t.getCPtr(a), SWIGTYPE_p_json_value_t.getCPtr(b));

        return(ret);
    }
Ejemplo n.º 12
0
    public static int json_serialize_to_file_pretty(SWIGTYPE_p_json_value_t value, string filename)
    {
        int ret = parsonPINVOKE.json_serialize_to_file_pretty(SWIGTYPE_p_json_value_t.getCPtr(value), filename);

        return(ret);
    }
Ejemplo n.º 13
0
    public static int json_array_replace_value(SWIGTYPE_p_json_array_t array, uint i, SWIGTYPE_p_json_value_t value)
    {
        int ret = parsonPINVOKE.json_array_replace_value(SWIGTYPE_p_json_array_t.getCPtr(array), i, SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 14
0
    public static int json_object_dotset_value(SWIGTYPE_p_json_object_t arg0, string name, SWIGTYPE_p_json_value_t value)
    {
        int ret = parsonPINVOKE.json_object_dotset_value(SWIGTYPE_p_json_object_t.getCPtr(arg0), name, SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 15
0
    public static int json_validate(SWIGTYPE_p_json_value_t schema, SWIGTYPE_p_json_value_t value)
    {
        int ret = parsonPINVOKE.json_validate(SWIGTYPE_p_json_value_t.getCPtr(schema), SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 16
0
    public static uint json_serialization_size_pretty(SWIGTYPE_p_json_value_t value)
    {
        uint ret = parsonPINVOKE.json_serialization_size_pretty(SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 17
0
    public static int json_serialize_to_buffer_pretty(SWIGTYPE_p_json_value_t value, string buf, uint buf_size_in_bytes)
    {
        int ret = parsonPINVOKE.json_serialize_to_buffer_pretty(SWIGTYPE_p_json_value_t.getCPtr(value), buf, buf_size_in_bytes);

        return(ret);
    }
Ejemplo n.º 18
0
    public static int json_array_append_value(SWIGTYPE_p_json_array_t array, SWIGTYPE_p_json_value_t value)
    {
        int ret = parsonPINVOKE.json_array_append_value(SWIGTYPE_p_json_array_t.getCPtr(array), SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 19
0
    public static string json_serialize_to_string_pretty(SWIGTYPE_p_json_value_t value)
    {
        string ret = parsonPINVOKE.json_serialize_to_string_pretty(SWIGTYPE_p_json_value_t.getCPtr(value));

        return(ret);
    }
Ejemplo n.º 20
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_json_value_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }