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