From 12933841e20d93845b764f68cf4547acb6cb2a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=B3=E4=BF=A1?= Date: Thu, 12 Sep 2024 14:31:09 +0800 Subject: [PATCH] minor update: fix doc typo --- src/main/java/com/alibaba/fastjson/JSON.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/alibaba/fastjson/JSON.java b/src/main/java/com/alibaba/fastjson/JSON.java index 6159c72b1b..1ed4f9d70a 100644 --- a/src/main/java/com/alibaba/fastjson/JSON.java +++ b/src/main/java/com/alibaba/fastjson/JSON.java @@ -47,7 +47,7 @@ * Model model2 = JSON.parseObject(json, Model.class); // deserializes json into model2 * * -*

If the object that your are serializing/deserializing is a {@code ParameterizedType} +*

If the object that you are serializing/deserializing is {@code ParameterizedType} * (i.e. contains at least one type parameter and may be an array) then you must use the * {@link #toJSONString(Object)} or {@link #parseObject(String, Type, Feature[])} method. Here is an * example for serializing and deserialing a {@code ParameterizedType}: