资 源 简 介
What is it?
SPDataPickle is a library use to serialize and deserialize C structures to and from XML/JSON/ProtoBuf
Quick Example
You write a .xml file like this:
Then you process it with spxml2struct, the SPDataPickle tools, to produce code in pure C.
```
enum {
eTypeXYZPerson = eTypeSPDPUserDefine + 1
};
typedef struct tagXYZPerson {
int mId;
char * mName;
char * mEmail;
} XYZPerson_t;
typedef struct tagSPDPMetaInfo SPDPMetaInfo_t;
extern SPDPMetaInfot * gXYZAccountMetaInfo;
```
Then, you