Lines Matching refs:Value
18 class Value;
49 // for a value
87 // Classifies a Value as one of the JSON schema primitive types.
88 static std::string GetJSONSchemaType(Value* value);
139 // Validates a JSON value. Returns true if the instance is valid, false
142 bool Validate(Value* instance);
154 void Validate(Value* instance, DictionaryValue* schema,
159 void ValidateChoices(Value* instance, ListValue* choices,
163 void ValidateEnum(Value* instance, ListValue* choices,
185 void ValidateNumber(Value* instance, DictionaryValue* schema,
189 bool ValidateType(Value* instance, const std::string& expected_type,