AOJLS
0.1
CJSONparsing/generatinglibrary
|
Deserialization preferences. More...
#include <aojls.h>
Data Fields | |
reader_function_t | reader |
void * | reader_data |
aojls_ctx_t * | ctx |
const char * | error |
Deserialization preferences.
Contains all available preferences that can be used by deserialization. Also holds reference to any error, if it has happened during the deserialization.
aojls_ctx_t* aojls_deserialization_prefs::ctx |
If non-NULL, this context will be used by deserializer, otherwise new context will be created
const char* aojls_deserialization_prefs::error |
If error has happened, this will contain reference to a string containing error details, otherwise NULL
reader_function_t aojls_deserialization_prefs::reader |
Custom reader function. If not provided, deserializer will use string provided as source
void* aojls_deserialization_prefs::reader_data |
Reader state. Only applicable if custom reader is used, otherwise should be NULL