From 76e5aea0988392610c85c98ee7cbacbfc3fa47a0 Mon Sep 17 00:00:00 2001
From: elevne
The following is an example shows how to use the {@code GsonBuilder} to construct a Gson - * instance: + *
The following example shows how to use the {@code GsonBuilder} to construct a Gson instance: * *
* Gson gson = new GsonBuilder() @@ -120,7 +119,7 @@ public GsonBuilder() { * Constructs a GsonBuilder instance from a Gson instance. The newly constructed GsonBuilder * has the same configuration as the previously built Gson instance. * - * @param gson the gson instance whose configuration should by applied to a new GsonBuilder. + * @param gson the gson instance whose configuration should be applied to a new GsonBuilder. */ GsonBuilder(Gson gson) { this.excluder = gson.excluder; @@ -274,7 +273,7 @@ public GsonBuilder serializeNulls() { * {"x":2,"y":3}}. * *Given the assumption above, a {@code Map
} will be - * serialize as an array of arrays (can be viewed as an entry set of pairs). + * serialized as an array of arrays (can be viewed as an entry set of pairs). * * Below is an example of serializing complex types as JSON arrays: *
{@code @@ -574,7 +573,7 @@ public GsonBuilder setDateFormat(String pattern) { } /** - * Configures Gson to to serialize {@code Date} objects according to the style value provided. + * Configures Gson to serialize {@code Date} objects according to the style value provided. * You can call this method or {@link #setDateFormat(String)} multiple times, but only the last * invocation will be used to decide the serialization format. * @@ -595,7 +594,7 @@ public GsonBuilder setDateFormat(int style) { } /** - * Configures Gson to to serialize {@code Date} objects according to the style value provided. + * Configures Gson to serialize {@code Date} objects according to the style value provided. * You can call this method or {@link #setDateFormat(String)} multiple times, but only the last * invocation will be used to decide the serialization format. *