MCPcopy
hub / github.com/mudler/LocalAI / JSON

Method JSON

pkg/functions/peg/builder.go:146–148  ·  view source on GitHub ↗

JSON matches a complete JSON value.

()

Source from the content-addressed store, hash-verified

144
145// JSON matches a complete JSON value.
146func (b *Builder) JSON() ParserID {
147 return b.add(&JSONParser{})
148}
149
150// JSONNumber matches a JSON number.
151func (b *Builder) JSONNumber() ParserID {

Callers 15

notFoundHandlerFunction · 0.80
APIFunction · 0.80
AdmissionControlFunction · 0.80
SetModelAndConfigMethod · 0.80
LoginHandlerMethod · 0.80
CallbackHandlerMethod · 0.80
RequireAdminFunction · 0.80
RequireFeatureFunction · 0.80
RequireRouteFeatureFunction · 0.80
RequireModelAccessFunction · 0.80
RequireQuotaFunction · 0.80
authErrorFunction · 0.80

Calls 1

addMethod · 0.95

Tested by 3

usageHandlerFunction · 0.64
newTestAuthAppFunction · 0.64
serveFunction · 0.64