https://github.com/sshaplygin/fastjson-builder
Transform golang objects to fastjson values without a lot of monkey jobs
https://github.com/sshaplygin/fastjson-builder
fastjson fastjson-builder monkey-jobs
Last synced: 4 months ago
JSON representation
Transform golang objects to fastjson values without a lot of monkey jobs
- Host: GitHub
- URL: https://github.com/sshaplygin/fastjson-builder
- Owner: sshaplygin
- Created: 2024-02-10T17:34:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-18T01:23:03.000Z (about 1 year ago)
- Last Synced: 2025-01-22T12:11:32.646Z (6 months ago)
- Topics: fastjson, fastjson-builder, monkey-jobs
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fastjson-builder
fastjson it is low-level library for working with fastjson objects. We have task for parse part of biggest json and insert some changes in parent data.
This library resolve once case - Transform golang objects to fastjson values without a lot of monkey jobs.
## Disclaimer
It is non procutions ready solution, because solution is WIP
## Problem
I am programmer and i am lazy :)
## Usage
```go
```## Benchmarks
```
goos: darwin
goarch: arm64
pkg: github.com/sshaplygin/fastjson-builder/cmd
BenchmarkStd-10 5713700 201.1 ns/op 96 B/op 1 allocs/op
BenchmarkManualFastJSONBuild-10 2095821 680.0 ns/op 3283 B/op 7 allocs/op
BenchmarkReflectFastJSONBuild-10 1000000 1105 ns/op 3646 B/op 19 allocs/op
```