MCPcopy Create free account
hub / github.com/algolia/cli / NewJSONVar

Function NewJSONVar

pkg/cmdutil/json_value.go:16–20  ·  view source on GitHub ↗

NewJSONValue creates a new JSONVar.

(types ...string)

Source from the content-addressed store, hash-verified

14
15// NewJSONValue creates a new JSONVar.
16func NewJSONVar(types ...string) *JSONValue {
17 return &JSONValue{
18 types: types,
19 }
20}
21
22// String returns the string representation of the JSON object.
23func (j *JSONValue) String() string {

Callers 5

Test_JSONValueFunction · 0.85
AddDeleteByParamsFlagsFunction · 0.85
AddIndexSettingsFlagsFunction · 0.85

Calls

no outgoing calls

Tested by 1

Test_JSONValueFunction · 0.68