#ifndef __SERIALIZATIONINFO_H_
#define __SERIALIZATIONINFO_H_

#include "../mecha/mecha.h"

typedef struct s_SerializationInfo SerializationInfo;

SerializationInfo *serializationinfo_new (void);
void serializationinfo_addValue (SerializationInfo *info, const char *key, dynTstring *value);
dynTstring * serializationinfo_getValue (SerializationInfo *info, const char *key);
void serializationinfo_destroy (void *ptr);

void serializationinfo_addValueData (SerializationInfo *info, const char *key, int keyLen, dynTstring *value);

hshTiterator * serializationinfo_getIterator (SerializationInfo *info);
void serializationinfo_destroyIterator (hshTiterator *iter);

#endif
