// automatically generated by admSerialization.py, do not edit!
#include "ADM_default.h"
#include "ADM_paramList.h"
#include "ADM_coreJson.h"
#include "mcdeint.h"
bool  mcdeint_jserialize(const char *file, const mcdeint *key){
admJson json;
json.addUint32("mode",key->mode);
json.addBool("initial_parity",key->initial_parity);
json.addUint32("qp",key->qp);
return json.dumpToFile(file);
};
bool  mcdeint_jdeserialize(const char *file, const ADM_paramList *tmpl,mcdeint *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;
};
