Skip to content

Commit 150ab2e

Browse files
committed
update version
1 parent 2a08694 commit 150ab2e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,24 @@ ReerJSON is a really fast JSON parser, and it's inspired by [ZippyJSON](https://
2828
![CleanShot 2025-09-18 at 13 40 05@2x](https://github.com/user-attachments/assets/3f814fa3-72b0-4005-bea5-7391105aa6dd)
2929

3030

31-
Tested with ReerJSON 0.2.0, ZippyJSON 1.2.15, IkigaJSON 2.3.2
31+
Tested with ReerJSON 0.3.0, ZippyJSON 1.2.15, IkigaJSON 2.3.2
3232

3333
[Code for Benchmarks](https://github.com/Asura19/ReerJSONBenchmark)
3434

35+
# Installation
36+
37+
## Swift Package Manager
38+
39+
Add dependency in `Package.swift` or project `Package Dependencies`
40+
```swift
41+
.package(url: "https://github.com/reers/ReerJSON.git", from: "0.3.0"),
42+
```
43+
44+
Depend on `ReerJSON` in your target.
45+
```swift
46+
.product(name: "ReerJSON", package: "ReerJSON" ),
47+
```
48+
3549
# Usage
3650
Just replace `JSONDecoder` with `ReerJSONDecoder` wherever you want to use it. So instead of `let decoder = JSONDecoder()`, do `let decoder = ReerJSONDecoder()`, and everything will just work. This is because `ReerJSONDecoder` has the exact same API as `JSONDecoder`. Also, don't forget to add `import ReerJSON` in files where you use it.
3751

0 commit comments

Comments
 (0)