MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / FromString

Function FromString

pkg/util/json/json.go:897–899  ·  view source on GitHub ↗

FromString returns a JSON value given a string.

(v string)

Source from the content-addressed store, hash-verified

895
896// FromString returns a JSON value given a string.
897func FromString(v string) JSON {
898 return jsonString(v)
899}
900
901// FromBool returns a JSON value given a bool.
902func FromBool(v bool) JSON {

Callers 3

jsonNodeMethod · 0.92
AsJSONFunction · 0.92
MakeJSONFunction · 0.70

Calls 1

jsonStringTypeAlias · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…