Skip to content

Commit c5489c4

Browse files
committed
refactor: fork
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 93f67d9 commit c5489c4

File tree

3 files changed

+24
-8
lines changed

3 files changed

+24
-8
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
11
tags
2+
.#*
3+
/.cache/
4+
/.gocache/
5+
/bin/
6+
/vendor/
7+
.#*
8+
.aider*
9+
debug.test*
10+
/node_modules

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1-
[![Build Status](https://travis-ci.org/valyala/fastjson.svg)](https://travis-ci.org/valyala/fastjson)
2-
[![GoDoc](https://godoc.org/github.com/valyala/fastjson?status.svg)](http://godoc.org/github.com/valyala/fastjson)
3-
[![Go Report](https://goreportcard.com/badge/github.com/valyala/fastjson)](https://goreportcard.com/report/github.com/valyala/fastjson)
4-
[![codecov](https://codecov.io/gh/valyala/fastjson/branch/master/graph/badge.svg)](https://codecov.io/gh/valyala/fastjson)
1+
# fastjson
52

6-
# fastjson - fast JSON parser and validator for Go
3+
[![GoDoc Widget]][GoDoc] [![Go Report Card Widget]][Go Report Card]
74

5+
[GoDoc]: https://godoc.org/github.com/aperturerobotics/fastjson
6+
[GoDoc Widget]: https://godoc.org/github.com/aperturerobotics/fastjson?status.svg
7+
[Go Report Card Widget]: https://goreportcard.com/badge/github.com/aperturerobotics/fastjson
8+
[Go Report Card]: https://goreportcard.com/report/github.com/aperturerobotics/fastjson
9+
10+
**fastjson** is an alternative to **encoding/json** which does not use reflection.
11+
12+
**This is a fork of the [upstream project] with some improvements.**
13+
14+
[upstream project]: https://github.com/valyala/fastjson
815

916
## Features
1017

11-
* Fast. As usual, up to 15x faster than the standard [encoding/json](https://golang.org/pkg/encoding/json/).
18+
* Up to 15x faster than the standard [encoding/json](https://golang.org/pkg/encoding/json/).
1219
See [benchmarks](#benchmarks).
1320
* Parses arbitrary JSON without schema, reflection, struct magic and code generation
1421
contrary to [easyjson](https://github.com/mailru/easyjson).
@@ -200,7 +207,7 @@ BenchmarkValidate/twitter/fastjson 2000 1036796 ns/op 609.10 MB/s
200207

201208
## FAQ
202209

203-
* Q: _There are a ton of other high-perf packages for JSON parsing in Go. Why creating yet another package?_
210+
* Q: _There are a ton of other high-perf packages for JSON parsing in Go. Why create yet another package?_
204211
A: Because other packages require either rigid JSON schema via struct magic
205212
and code generation or perform poorly when multiple unrelated fields
206213
must be obtained from the parsed JSON.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/valyala/fastjson
22

3-
go 1.12
3+
go 1.21

0 commit comments

Comments
 (0)