Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mj哥字典->coredata模型里面有个集合的话 失败了 #296

Closed
feixue299 opened this issue Dec 15, 2015 · 1 comment
Closed

mj哥字典->coredata模型里面有个集合的话 失败了 #296

feixue299 opened this issue Dec 15, 2015 · 1 comment

Comments

@feixue299
Copy link

服务器:
{
errcode = 0;
errmsg = {
RestTime = (
{
RestEndTime = "16:55:00";
RestStartTime = "08:55:00";
},
{
RestEndTime = "21:30:00";
RestStartTime = "08:00:00";
}
);
WorkEndTime = "21:30:00";
WorkStartTime = "08:00:00";
};
}

@interface ClinicTime (CoreDataProperties)

@Property (nullable, nonatomic, retain) NSString *workEndTime;
@Property (nullable, nonatomic, retain) NSString *workStartTime;
@Property (nullable, nonatomic, retain) NSSet<RestTime *> *restTime;

@EnD

转换之后打印的结果是这样的:
{
restTime = (
);
workEndTime = "21:30:00";
workStartTime = "08:00:00";
}

我已经用了首字母大写了

@wolfcon
Copy link
Collaborator

wolfcon commented Sep 8, 2021

Duplicate of #43

@wolfcon wolfcon marked this as a duplicate of #43 Sep 8, 2021
@wolfcon wolfcon closed this as completed Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants