Skip to content

Vector JSON parser with minimum memory consumption.

License

Notifications You must be signed in to change notification settings

koykov/jsonvector

Repository files navigation

JSON vector

JSON parser based on Vector API with minimum memory consumption.

Usage

src := []byte(`{"id":1,"name":"Foo","price":123,"tags":["Bar","Eek"],"stock":{"warehouse":300,"retail":20}}`)
vec := jsonvector.Acquire()
defer jsonvector.Release(vec)
_ = vec.Parse(src)
fmt.Println(vec.Dot("stock.warehouse")) // 300

About

Vector JSON parser with minimum memory consumption.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages