Created
July 25, 2015 14:09
-
-
Save R-Rudolf/64cbf83f899c20ca20bb to your computer and use it in GitHub Desktop.
This file contains 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
class REQ | |
{ | |
public string field1 { get; set; } | |
public int field2 { get; set; } | |
} | |
void use() | |
{ | |
string req = JsonParser.Serialize(new REQ() { field1 = "asd", field2 = 32; }); | |
REQ resp = JsonParser.Deserialize<REQ>(response); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment