Lines Matching defs:object
53 object,
74 using object = array_t<pair>;
81 object object_;
89 value(object&& value) : type{ type::object }, object_(std::move(value)) {}
123 case type::object:
124 new (&object_) object(std::move(rhs.object_));
153 case type::object:
154 new (&object_) object(std::move(rhs.object_));
187 case type::object:
208 return type == type::object;
253 if (type == type::object) {
265 if (type == type::object) {
277 inline bool HasKey(const value& object, const string_t key)
279 if (object.type == type::object) {
280 for (auto& t : object.object_) {
289 inline const value& GetKey(const value& object, const string_t key)
292 if (object.type == type::object) {
293 for (auto& t : object.object_) {
339 // handle empty object.
340 res = value(object{});
343 object values;
612 case type::object:
637 // start of an object
644 // handle empty object.
645 add(stack.back(), value(object{}));
657 // push the object with key and missing value on the stack and hope to find a value next
658 stack.push_back(value(object{}));
666 // end of an object
667 if (stack.back().type != type::object) {
676 // move this object to the next in the stack
723 // comma is allowed when the previous value was complete and we have an incomplete object or array on the
725 if (!acceptValue && stack.back().type == type::object) {
812 case type::object: {