Example #1
0
 static JsonPath()
 {
     Root = new JsonPath();
 }
Example #2
0
 private JsonPath(JsonPath path, JsonPathSegment segment)
 {
     this.items = new List<JsonPathSegment>(path.items);
     this.items.Add(segment);
 }
Example #3
0
 public JsonSchemaCallback(ICollection<JsonSchemaMessage> items)
 {
     this.items = items;
     this.path = JsonPath.Root;
 }
Example #4
0
 private JsonSchemaCallback(JsonPath path, bool items)
 {
     this.path = path;
     this.items = items ? new List<JsonSchemaMessage>() : null;
 }
Example #5
0
 private JsonSchemaCallback()
 {
     this.path = JsonPath.Root;
 }
Example #6
0
 public JsonSchemaMessage(JsonPath path, JsonValue value, string description)
 {
     this.path = path;
     this.value = value;
     this.description = description;
 }