AOJLS  0.1
CJSONparsing/generatinglibrary
Data Fields
aojls_deserialization_prefs Struct Reference

Deserialization preferences. More...

#include <aojls.h>

Data Fields

reader_function_t reader
 
void * reader_data
 
aojls_ctx_tctx
 
const char * error
 

Detailed Description

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.

Field Documentation

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


The documentation for this struct was generated from the following file: