Skip to content

Commit

Permalink
📝 Update documentation based on code in FuelJson.kt (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-65 authored and kittinunf committed Aug 18, 2019
1 parent db62aec commit 5b089fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ implementation 'com.github.kittinunf.fuel:fuel-json:<latest-version>'
## Usage

```kotlin
fun responseJson(handler: (Request, Response, Result<Json, FuelError>) -> Unit)
fun responseJson(handler: (Request, Response, Result<FuelJson, FuelError>) -> Unit)

val jsonObject = json.obj() //JSONObject
val jsonArray = json.array() //JSONArray
Expand Down

0 comments on commit 5b089fb

Please sign in to comment.