cJSON_AddNullToObject function

  1. @Native<Pointer<cJSON> Function(Pointer<cJSON> object, Pointer<Char> name)>(ffi.Pointer<cJSON>, ffi.Pointer<ffi.Char>)>()
Pointer<cJSON> cJSON_AddNullToObject(
  1. Pointer<cJSON> object,
  2. Pointer<Char> name
)

Helper functions for creating and adding items to an object at the same time. They return the added item or NULL on failure.

Implementation

@ffi.Native<
  ffi.Pointer<cJSON> Function(ffi.Pointer<cJSON>, ffi.Pointer<ffi.Char>)
>()
external ffi.Pointer<cJSON> cJSON_AddNullToObject(
  ffi.Pointer<cJSON> object,
  ffi.Pointer<ffi.Char> name,
);