Registry / serialization / launchdarkly-go-jsonstream-v3

launchdarkly-go-jsonstream-v3

JSON →
library3.1.1gogounverified

Provides fast streaming JSON encoding and decoding with jreader and jwriter subpackages, optionally using easyjson.

go get github.com/launchdarkly/go-jsonstream/v3
INSTALL
IMPORT
SIG · LAUNCHDARKLY-GO-JS
L
launchdarkly-go-jsonstream-v3
serializationgov3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jwriter
github.com/launchdarkly/go-jsonstream/v3/jwriter

Writes a JSON string to a buffer using jwriter.

package main import ( "bytes" "fmt" "github.com/launchdarkly/go-jsonstream/v3/jwriter" ) func main() { var buf bytes.Buffer w := jwriter.NewWriter(&buf) w.WriteString("hello") w.Close() fmt.Println(buf.String()) }
Debug
Known issues
gotchaThe base package is empty; you must import a subpackage (jreader or jwriter).
fix
Use github.com/launchdarkly/go-jsonstream/v3/jreader or github.com/launchdarkly/go-jsonstream/v3/jwriter.
affects: >=3.0.0
Upgrade
Version history
3.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Bingbot
1
Resources
launchdarkly-go-jsonstream-v3 — go get launchdarkly-go-jsonstream-v3 · libregistry