Home / Function/ TestBindingJSON() — gin Function Reference

TestBindingJSON() — gin Function Reference

Architecture documentation for the TestBindingJSON() function in binding_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  20fc2b8c_7597_7e17_fabc_7f1b8d53bf56["TestBindingJSON()"]
  314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"]
  20fc2b8c_7597_7e17_fabc_7f1b8d53bf56 -->|defined in| 314c6481_2bd0_e5a7_282c_94e41df6062a
  2726b89c_90f4_05b5_9dc0_ce5de910b509["testBodyBinding()"]
  20fc2b8c_7597_7e17_fabc_7f1b8d53bf56 -->|calls| 2726b89c_90f4_05b5_9dc0_ce5de910b509
  style 20fc2b8c_7597_7e17_fabc_7f1b8d53bf56 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/binding_test.go lines 188–193

func TestBindingJSON(t *testing.T) {
	testBodyBinding(t,
		JSON, "json",
		"/", "/",
		`{"foo": "bar"}`, `{"bar": "foo"}`)
}

Subdomains

Frequently Asked Questions

What does TestBindingJSON() do?
TestBindingJSON() is a function in the gin codebase, defined in binding/binding_test.go.
Where is TestBindingJSON() defined?
TestBindingJSON() is defined in binding/binding_test.go at line 188.
What does TestBindingJSON() call?
TestBindingJSON() calls 1 function(s): testBodyBinding.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free