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

JSON结构转换 #205

Closed
juqkai opened this issue Apr 28, 2012 · 9 comments
Closed

JSON结构转换 #205

juqkai opened this issue Apr 28, 2012 · 9 comments
Milestone

Comments

@juqkai
Copy link
Member

juqkai commented Apr 28, 2012

将一种JSON结构转换成另外一种JSON结构.例:

{
"age":"123",
"name":"juqkai"
}
转换成:
{
"年龄":"123",
"姓名":"juqkai"
}

@juqkai
Copy link
Member Author

juqkai commented Apr 28, 2012

实现:
添加Json结构转换实现
67ecde3

@wendal
Copy link
Member

wendal commented May 2, 2012

搞定了?

juqkai added a commit that referenced this issue May 2, 2012
@juqkai
Copy link
Member Author

juqkai commented May 2, 2012

差不多搞定了, 不知道该不该合并

juqkai added a commit that referenced this issue May 3, 2012
@zozoh
Copy link
Member

zozoh commented May 3, 2012

加两个 JUnit 哦

@juqkai
Copy link
Member Author

juqkai commented May 4, 2012

好的, 想办法写点测试

juqkai added a commit that referenced this issue May 4, 2012
调整结构, 并修正一个bug
juqkai added a commit that referenced this issue May 8, 2012
@juqkai
Copy link
Member Author

juqkai commented May 8, 2012

搞定.

除添加转换外, 还在Objs里面添加了一个访问Map, List的功能.
JsonConvert感觉上名字应该改一下, 毕竟它转换其实是对Map, List结构做的, 而非服务于JSON

@zozoh
Copy link
Member

zozoh commented May 31, 2012

想了想, Maplist 名字不酷, 叫 "Mapl" 如何?

@juqkai
Copy link
Member Author

juqkai commented May 31, 2012

恩, 完全没有问题

@juqkai
Copy link
Member Author

juqkai commented Jun 1, 2012

这个可以关了

@juqkai juqkai closed this as completed Jun 1, 2012
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

3 participants