MCPcopy Create free account
hub / github.com/dolthub/doltgresql / FromString

Function FromString

postgres/parser/json/json.go:982–984  ·  view source on GitHub ↗

FromString returns a JSON value given a string.

(v string)

Source from the content-addressed store, hash-verified

980
981// FromString returns a JSON value given a string.
982func FromString(v string) JSON {
983 return jsonString(v)
984}
985
986// FromBool returns a JSON value given a bool.
987func FromBool(v bool) JSON {

Callers 2

jsonNodeMethod · 0.92
MakeJSONFunction · 0.70

Calls 1

jsonStringTypeAlias · 0.85

Tested by

no test coverage detected