예제 #1
0
파일: JsonPath.cs 프로젝트: amacal/jinx
 static JsonPath()
 {
     Root = new JsonPath();
 }
예제 #2
0
파일: JsonPath.cs 프로젝트: amacal/jinx
 private JsonPath(JsonPath path, JsonPathSegment segment)
 {
     this.items = new List<JsonPathSegment>(path.items);
     this.items.Add(segment);
 }
예제 #3
0
 public JsonSchemaCallback(ICollection<JsonSchemaMessage> items)
 {
     this.items = items;
     this.path = JsonPath.Root;
 }
예제 #4
0
 private JsonSchemaCallback(JsonPath path, bool items)
 {
     this.path = path;
     this.items = items ? new List<JsonSchemaMessage>() : null;
 }
예제 #5
0
 private JsonSchemaCallback()
 {
     this.path = JsonPath.Root;
 }
예제 #6
0
 public JsonSchemaMessage(JsonPath path, JsonValue value, string description)
 {
     this.path = path;
     this.value = value;
     this.description = description;
 }