diff --git a/README.md b/README.md index 1db1f54f4..9806f2a88 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ import org.json.JSONObject; public class Test { public static void main(String args[]){ JSONObject jo = new JSONObject("{ \"abc\" : \"def\" }"); - System.out.println(jo.toString()); + System.out.println(jo); } } ```