diff --git a/gson/src/main/java/com/google/gson/JsonArray.java b/gson/src/main/java/com/google/gson/JsonArray.java index d332ed72..5232a703 100644 --- a/gson/src/main/java/com/google/gson/JsonArray.java +++ b/gson/src/main/java/com/google/gson/JsonArray.java @@ -23,9 +23,10 @@ import java.util.Iterator; import java.util.List; /** - * A class representing an array type in Json. An array is a list of {@link JsonElement}s each of + * A class representing an array type in JSON. An array is a list of {@link JsonElement}s each of * which can be of a different type. This is an ordered list, meaning that the order in which - * elements are added is preserved. + * elements are added is preserved. This class does not support {@code null} values. If {@code null} + * is provided as element argument to any of the methods, it is converted to a {@link JsonNull}. * * @author Inderjeet Singh * @author Joel Leitch @@ -128,14 +129,13 @@ public final class JsonArray extends JsonElement implements Iterable