Created
October 1, 2015 07:10
-
-
Save demofan/7fefc9ffc561e51c7e40 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jsonstring="[{中文="A"},{中文="B"}]" | |
class JsonForSearch | |
{ | |
[JsonProperty("中文")] | |
public string pname { get; set; } | |
} | |
反序列化要吃的到 | |
再次序列化的值希望是 | |
"[{pname="A"},{pname="B"}]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment