Skip to content

Commit aa2fff7

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents dda8366 + f22a1ff commit aa2fff7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ dependencies {
2727
# Usage
2828
You can start using this package right away by importing your Json data from a file:
2929
```kotlin
30-
val jsonQ = JsonQ("data.json")
30+
val filePath = "data.json"
31+
val inputStream = FileInputStream(filePath)
32+
val jsonq = JsonQ(inputStream)
3133
```
3234
You can start Query your data using the various query methods such as **whereEq**, **whereNull**, **whereLess**, **whereStartsWith**, **orWhereNotNull**, **orWhereGreater**, **andWhereGreaterEq**, **andWhereEndsWith** and so on. Also you can aggregate your data after query using **sum**, **max**, **min** etc.
3335

0 commit comments

Comments
 (0)