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

Method AsText

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

AsText returns the JSON document as a string, with quotes around strings removed, and null as nil.

()

Source from the content-addressed store, hash-verified

130
131 // AsText returns the JSON document as a string, with quotes around strings removed, and null as nil.
132 AsText() (*string, error)
133
134 // Exists implements the `?` operator.
135 Exists(string) (bool, error)

Callers 2

AsTextMethod · 0.65
RemoveStringMethod · 0.65

Implementers 4

jsonNullpostgres/parser/json/json.go
jsonFalsepostgres/parser/json/json.go
jsonTruepostgres/parser/json/json.go
jsonEncodedpostgres/parser/json/encoded.go

Calls

no outgoing calls

Tested by

no test coverage detected