gabs
sonic
gabs | sonic | |
---|---|---|
8 | 23 | |
3,374 | 6,306 | |
- | 1.7% | |
0.0 | 8.0 | |
2 months ago | 6 days ago | |
Go | Assembly | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gabs
-
6 🔥 Awesome Golang packages (web devs)
GitHub repo: https://github.com/Jeffail/gabs
-
Ask HN: What are some Golang tools you can't live without?
gabs [0]. It helps with dealing with dynamic JSONs with unknown structures.
[0]: https://github.com/Jeffail/gabs
-
High-performance JSON parsing in Go
Nice article, I've often found gabs very useful for parsing structless/dynamic json
- Any way to convert unknown/dynamic json to generic object structure
-
Polygon: Json Database System designed to run on small servers (as low as 16MB) and still be fast and flexible.
Gabs v2 (github.com/Jeffail/gabs/v2 ), this just makes working with interfaces more easier.
-
Wasm difficulties in Rust, Haskell, and Go
gabs depends on reflect
-
Is there a way to parse unstructured data?
This might be of interest: https://github.com/Jeffail/gabs
-
Jumping execution of function
Hi there, I'm trying to develop a service that picks from a MariaDB database entries with two fields: id (int) and field2(json). I've managed to read the json field by using gabs and with the code arranged like this:
sonic
- How to Visualize and Analyze Data in Open Source Communities
-
Handling high-traffic HTTP requests with JSON payloads
Since most of the time would be spent decoding json, you could try to cut this time using https://github.com/bytedance/sonic or https://github.com/json-iterator/go, both are drop-in replacements for the stdlib, sonic is faster.
- Building a Streaming Platform in Go for Postgres
-
Building a high performance JSON parser
Also worth looking at https://github.com/bytedance/sonic
- Sonic: A fast JSON serializing and deserializing library in Go
- sonic/INTRODUCTION.md at main · bytedance/sonic
-
High-performance JSON parsing in Go
The article inside does not mention this.
-
Toward the Fastest, Compatible JSON Decoder – Sonnet
Good morning.I hope this is not the wrong place to post… so let me introduce my first public Golang package. This is a JSON decoder called Sonnet ( https://github.com/sugawarayuuta/sonnet ) that has given faster results (at least in my environment) than Sonic - https://github.com/bytedance/sonic (which is said that it's the fastest) without the help of assembly!
JSON is a very well-known file format. It is used by everyone who does programming. However, it is also not uncommon to find problems with encoding/json and other third-party libraries. for more… (see https://github.com/sugawarayuuta/sonnet#problems-we-had )
I decided to create a new, standard library-compatible decoder that would be both easy to use and fast.
Thanks for reading, feel free to use, help, or ask questions, I look forward to hearing from you. All benchmarks and other information can be found in the link at the top.
-
Toward the Fastest, Compatible JSON Decoder - Sonnet
Good morning. Let me introduce my first public Go package. This is a JSON decoder called Sonnet ( https://github.com/sugawarayuuta/sonnet ) that has given faster results (at least in my environment) than Sonic (which is said that it's the fastest) without the help of assembly!
-
Looking back on framework benchmark (updates = db writes) what can make Go improved back to be top 10?
I'd say the https://github.com/bytedance/sonic has the fastest encoder due to C and assembly optimization. (Use at your own risk.)
What are some alternatives?
wasi-sockets - WASI API proposal for managing sockets
jsoniter - Using encoding/json to load parts of a large json document
PolygonDB - PolygonDB is an alternative to MongoDB that provides a developer-friendly experience and less resources hungry.
fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
GJSON - Get JSON values quickly - JSON parser for Go
encoding - Go package containing implementations of efficient encoding, decoding, and validation APIs.
jsonparser - One of the fastest alternative JSON parser for Go that does not require schema
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
go-codec - idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
simdjson-go - Golang port of simdjson: parsing gigabytes of JSON per second
json - A simple dynamic JSON parser.
json-iterator - Low level iterator on the records inside large JSON file.