Element in the array to give to the packer. More...
#include <gnunet_json_lib.h>
Data Fields | |
const char * | field_name |
Name of the field to pack. More... | |
json_t * | object |
Object to pack. More... | |
bool | allow_null |
True if a NULL (or 0) argument is allowed. More... | |
Element in the array to give to the packer.
Definition at line 680 of file gnunet_json_lib.h.
const char* GNUNET_JSON_PackSpec::field_name |
Name of the field to pack.
Definition at line 685 of file gnunet_json_lib.h.
Referenced by GNUNET_JSON_pack_().
json_t* GNUNET_JSON_PackSpec::object |
Object to pack.
Definition at line 690 of file gnunet_json_lib.h.
Referenced by GNUNET_JSON_pack_().
bool GNUNET_JSON_PackSpec::allow_null |
True if a NULL (or 0) argument is allowed.
In this case, if the argument is NULL the packer should return NULL and the field should be skipped (omitted from the generated object) and not be serialized at all.
Definition at line 698 of file gnunet_json_lib.h.
Referenced by GNUNET_JSON_pack_allow_null().