MCPcopy Create free account
hub / github.com/gavv/httpexpect / Object

Method Object

expect.go:668–673  ·  view source on GitHub ↗

Deprecated: use NewObject or NewObjectC instead.

(value map[string]interface{})

Source from the content-addressed store, hash-verified

666
667// Deprecated: use NewObject or NewObjectC instead.
668func (e *Expect) Object(value map[string]interface{}) *Object {
669 opChain := e.chain.enter("Object()")
670 defer opChain.leave()
671
672 return newObject(opChain, value)
673}
674
675// Deprecated: use NewArray or NewArrayC instead.
676func (e *Expect) Array(value []interface{}) *Array {

Callers

nothing calls this directly

Calls 3

newObjectFunction · 0.85
enterMethod · 0.80
leaveMethod · 0.80

Tested by

no test coverage detected