示例#1
0
 public JSONObject AddNull(string propertyName)
 {
     _parts.Add(JSONProperty.Null(propertyName));
     return(this);
 }
示例#2
0
 public JSONObject AddNumber(string propertyName, object number)
 {
     _parts.Add(JSONProperty.Number(propertyName, number));
     return(this);
 }
示例#3
0
 public JSONObject AddDate(string propertyName, DateTime date)
 {
     _parts.Add(JSONProperty.DateTime(propertyName, date));
     return(this);
 }
示例#4
0
 public JSONObject AddString(string propertyName, string propertyValue)
 {
     _parts.Add(JSONProperty.String(propertyName, propertyValue));
     return(this);
 }