From 43f4e47d63785ae891f18329b0c55295cb1f5c61 Mon Sep 17 00:00:00 2001 From: Odunlami Zacchaeus Date: Tue, 16 Dec 2025 10:01:07 +0100 Subject: [PATCH] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 73249d7..edbf457 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,8 @@ A minimal and type-safe Java SDK for interacting with JsonBin.io. This SDK allow ### Setup ```java -JsonBin jsonBin = - new JsonBinOkHttp.Builder().withMasterKey("JSONBIN_MASTER_KEY").build(UserList.class); +JsonBin jsonBin = + new JsonBinOkHttp.Builder().withMasterKey("JSONBIN_MASTER_KEY").build(); ``` ### Example: Calling the API @@ -63,7 +63,7 @@ JsonBin jsonBin = Here's a basic example of using the SDK to read a bin from JSONBin.io: ```java -Bin bin = jsonBin.readBin("687644d36063391d31ae163f"); +Bin bin = jsonBin.readBin("687644d36063391d31ae163f", UserList.class); System.out.println(bin); // Bin(record={users=[{name=Morounfoluwa Mary, age=19}]}, metadata=Metadata(id=687644d36063391d31ae163f, _private=false, createdAt=2025-07-15T12:08:51.887Z, name=Java SDK Test)) ```