MCPcopy Create free account
hub / github.com/go-json-experiment/json / String

Function String

jsontext/alias.go:492–494  ·  view source on GitHub ↗

String constructs a Token representing a JSON string. The provided string should contain valid UTF-8, otherwise invalid characters may be mangled as the Unicode replacement character.

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

makeBoolArshalerFunction · 0.92
makeStringArshalerFunction · 0.92
makeMapArshalerFunction · 0.92
makeStructArshalerFunction · 0.92
MarshalJSONToMethod · 0.92
TestMarshalFunction · 0.92
arshal_test.goFile · 0.92
marshalValueAnyFunction · 0.92
marshalObjectAnyFunction · 0.92
MarshalJSONToMethod · 0.92
mustDecodeTokensFunction · 0.92

Calls 1

StringMethod · 0.45

Tested by 10

MarshalJSONToMethod · 0.74
TestMarshalFunction · 0.74
MarshalJSONToMethod · 0.74
mustDecodeTokensFunction · 0.74
Example_stringReplaceFunction · 0.74
TestTokenAccessorsFunction · 0.56
TestTokenCloneFunction · 0.56
TestCoderStackPointerFunction · 0.56
TestCoderMaxDepthFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…