Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. [JsonProperty("flv-270p")]
  2. public string flv270p { get; set; }
  3.  
  4. public string flv270-p { get; set; }
  5.  
  6. identifier:
  7. available-identifier
  8. @ identifier-or-keyword
  9. available-identifier:
  10. An identifier-or-keyword that is not a keyword
  11. identifier-or-keyword:
  12. identifier-start-character identifier-part-charactersopt
  13. identifier-start-character:
  14. letter-character
  15. _ (the underscore character U+005F)
  16. identifier-part-characters:
  17. identifier-part-character
  18. identifier-part-characters identifier-part-character
  19. identifier-part-character:
  20. letter-character
  21. decimal-digit-character
  22. connecting-character
  23. combining-character
  24. formatting-character
  25. letter-character:
  26. A Unicode character of classes Lu, Ll, Lt, Lm, Lo, or Nl
  27. A unicode-escape-sequence representing a character of classes Lu, Ll, Lt, Lm, Lo, or Nl
  28. combining-character:
  29. A Unicode character of classes Mn or Mc
  30. A unicode-escape-sequence representing a character of classes Mn or Mc
  31. decimal-digit-character:
  32. A Unicode character of the class Nd
  33. A unicode-escape-sequence representing a character of the class Nd
  34. connecting-character:
  35. A Unicode character of the class Pc
  36. A unicode-escape-sequence representing a character of the class Pc
  37. formatting-character:
  38. A Unicode character of the class Cf
  39. A unicode-escape-sequence representing a character of the class Cf
  40.  
  41. int x-y = 3;
  42. int x = 10;
  43. int y = 2;
  44. int z = x-y; //3 or 8? Impossible to tell if the first line were allowed.
  45.  
  46. var jsonstring = ApiRequest.DoRequest(ApiRequest.GetBaseUriFor(typeof(SMS), "/sms/json"), new Dictionary<string, string>()
  47. {
  48. {"from", request.from},
  49. {"to", request.to},
  50. {"text", request.text}
  51. });
  52.  
  53. return JsonConvert.DeserializeObject<SMSResponse>(jsonstring);
  54.  
  55. var jsonstring = ApiRequest.DoRequest(ApiRequest.GetBaseUriFor(typeof(SMS), "/sms/json"), new Dictionary<string, string>()
  56. {
  57. {"from", request.from},
  58. {"to", request.to},
  59. {"text", request.text}
  60. }).Replace("-","_");
  61.  
  62. return JsonConvert.DeserializeObject<SMSResponse>(jsonstring);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement