// automatically generated by admSerialization.py, do not edit!
#include "ADM_default.h"
#include "ADM_paramList.h"
#include "ADM_coreJson.h"
#include "avsfilterparam.h"
bool  avsfilter_config_jserialize(const char *file, const avsfilter_config *key){
admJson json;
json.addString("wine_app",key->wine_app);
json.addString("avs_script",key->avs_script);
json.addString("avs_loader",key->avs_loader);
json.addUint32("pipe_timeout",key->pipe_timeout);
json.addUint32("debug_msg",key->debug_msg);
json.addUint32("script_mtime",key->script_mtime);
json.addUint32("script_ctime",key->script_ctime);
return json.dumpToFile(file);
};
bool  avsfilter_config_jdeserialize(const char *file, const ADM_paramList *tmpl,avsfilter_config *key){
admJsonToCouple json;
CONFcouple *c=json.readFromFile(file);
if(!c) {ADM_error("Cannot read json file");return false;}
bool r= ADM_paramLoadPartial(c,tmpl,key);
delete c;
return r;
};
