static JsonPath() { Root = new JsonPath(); }
private JsonPath(JsonPath path, JsonPathSegment segment) { this.items = new List<JsonPathSegment>(path.items); this.items.Add(segment); }
public JsonSchemaCallback(ICollection<JsonSchemaMessage> items) { this.items = items; this.path = JsonPath.Root; }
private JsonSchemaCallback(JsonPath path, bool items) { this.path = path; this.items = items ? new List<JsonSchemaMessage>() : null; }
private JsonSchemaCallback() { this.path = JsonPath.Root; }
public JsonSchemaMessage(JsonPath path, JsonValue value, string description) { this.path = path; this.value = value; this.description = description; }