Esempio n. 1
0
 internal JsonValue(string name, JsonElement self, JsonPath parent)
     : base(name, self, parent)
 {
 }
Esempio n. 2
0
 public JsonException(JsonPath path, string fmt, params string[] args)
     : base(fmt, args)
 {
     JsonPath = path;
 }
Esempio n. 3
0
 internal JsonPath(string name, JsonElement self, JsonPath parent)
 {
     Name   = name;
     Parent = parent;
     Self   = self;
 }
Esempio n. 4
0
 public JsonKeyInvalidException(JsonPath path, string reason)
     : base(path, "Property '{0}' is not allowed at this location: {1}", path.Name, reason)
 {
 }
Esempio n. 5
0
 public JsonKeyWrongTypeException(JsonPath keyPath, string typeExpected, string typeExpected2)
     : base(keyPath, "Property '{0}' should be of type '{1}' or '{2}'.", keyPath.Name, typeExpected, typeExpected2)
 {
 }
Esempio n. 6
0
 public JsonKeyMissingException(JsonPath path, string key)
     : base(path, "Required property '{0}' is missing.", key)
 {
 }