MCPcopy Index your code
hub / github.com/rilldata/rill / MarshalJSON

Method MarshalJSON

runtime/resolver.go:76–76  ·  view source on GitHub ↗

MarshalJSON is a convenience method to serialize the result to JSON.

()

Source from the content-addressed store, hash-verified

74 Next() (map[string]any, error)
75 // MarshalJSON is a convenience method to serialize the result to JSON.
76 MarshalJSON() ([]byte, error)
77}
78
79// ResolverExportOptions are the options passed to a resolver's ResolveExport method.

Callers 15

metricsViewCacheKeyMethod · 0.65
newCachedResolverResultFunction · 0.65
TestParseJSONSchemaFunction · 0.65
EmitMethod · 0.65
EmitMethod · 0.65
TestEventMarshalFunction · 0.65
sendMethod · 0.65
ToStructCoerceKeysFunction · 0.65
TestBuiltinSQLFunction · 0.65
TestBuiltinMetricsSQLFunction · 0.65
resolveTextFunction · 0.65

Implementers 4

driverResolverResultruntime/resolver.go
mapsResolverResultruntime/resolver.go
cachedResolverResultruntime/resolver.go
legacyResolverResultruntime/resolvers/legacy_metrics.go

Calls

no outgoing calls

Tested by 15

TestParseJSONSchemaFunction · 0.52
TestEventMarshalFunction · 0.52
TestBuiltinSQLFunction · 0.52
TestBuiltinMetricsSQLFunction · 0.52
resolveTextFunction · 0.52
TestSimpleSQLApiFunction · 0.52
TestTemplateSQLApiFunction · 0.52
TestTemplateSQLApi2Function · 0.52
TestSimpleMetricsSQLApiFunction · 0.52
TestPolicyMetricsSQLAPIFunction · 0.52