Home | History | Annotate | Download | only in common

Lines Matching refs:instance

121   // This setting defaults to false: all items in an instance list or object
139 // Validates a JSON value. Returns true if the instance is valid, false
142 bool Validate(Value* instance);
148 // path paramater is the path to |instance| from the root of the instance tree
151 // Validates any instance node against any schema node. This is called for
152 // every node in the instance tree, and it just decides which of the more
154 void Validate(Value* instance, DictionaryValue* schema,
159 void ValidateChoices(Value* instance, ListValue* choices,
163 void ValidateEnum(Value* instance, ListValue* choices,
167 void ValidateObject(DictionaryValue* instance, DictionaryValue* schema,
171 void ValidateArray(ListValue* instance, DictionaryValue* schema,
177 void ValidateTuple(ListValue* instance, DictionaryValue* schema,
181 void ValidateString(StringValue* instance, DictionaryValue* schema,
185 void ValidateNumber(Value* instance, DictionaryValue* schema,
188 // Validates that the JSON node |instance| has |expected_type|.
189 bool ValidateType(Value* instance, const std::string& expected_type,