Commit 1cefe8d1 by zhengnw@sobot.com

gson 1.1.2 包路径添加chat 避免混淆包报错( TypeToken must be created with a type argument:…

gson 1.1.2 包路径添加chat 避免混淆包报错( TypeToken must be created with a type argument: new TypeToken<...>() {}; When using code shrinkers (ProGuard, R8, ...) make sure that generic signatures are preserved.)
parent ea803884
...@@ -26,7 +26,7 @@ api 'com.sobot.library:sobotcommon:1.1.8' ...@@ -26,7 +26,7 @@ api 'com.sobot.library:sobotcommon:1.1.8'
api 'com.sobot.library:utils:1.1.1' api 'com.sobot.library:utils:1.1.1'
api 'com.sobot.library:picture:1.1' api 'com.sobot.library:picture:1.1'
api 'com.sobot.library:net:1.1.1' api 'com.sobot.library:net:1.1.1'
api 'com.sobot.library:gson:1.1.1' api 'com.sobot.library:gson:1.1.2'
api 'com.sobot.library:widget:0.6' api 'com.sobot.library:widget:0.6'
``` ```
......
...@@ -69,13 +69,13 @@ Gradle窗口 --> 模块 --> Tasks --> build --> publishing --> 点击publishRele ...@@ -69,13 +69,13 @@ Gradle窗口 --> 模块 --> Tasks --> build --> publishing --> 点击publishRele
api 'com.sobot.library:utils:1.1.1' api 'com.sobot.library:utils:1.1.1'
api 'com.sobot.library:picture:1.1' api 'com.sobot.library:picture:1.1'
api 'com.sobot.library:net:1.1.1' api 'com.sobot.library:net:1.1.1'
api 'com.sobot.library:gson:1.1.1' api 'com.sobot.library:gson:1.1.2'
//androidX //androidX
// api 'com.sobot.library:utils:1.1.1' // api 'com.sobot.library:utils:1.1.1'
// api 'com.sobot.library:picture_x:1.1' // api 'com.sobot.library:picture_x:1.1'
// api 'com.sobot.library:net:1.1.1' // api 'com.sobot.library:net:1.1.1'
// api 'com.sobot.library:gson:1.1.1' // api 'com.sobot.library:gson:1.1.2'
``` ```
...@@ -38,7 +38,7 @@ dependencies { ...@@ -38,7 +38,7 @@ dependencies {
api 'com.sobot.library:utils:1.1.3' api 'com.sobot.library:utils:1.1.3'
api 'com.sobot.library:picture_x:1.2.4' api 'com.sobot.library:picture_x:1.2.4'
api 'com.sobot.library:net:1.2.9.3' api 'com.sobot.library:net:1.2.9.3'
api 'com.sobot.library:gson:1.1.1' api 'com.sobot.library:gson:1.1.2'
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
api 'com.sobot.library:gson:xxx' api 'com.sobot.library:gson:xxx'
例如 例如
api 'com.sobot.library:gson:1.1.1' api 'com.sobot.library:gson:1.1.2'
``` ```
......
...@@ -12,7 +12,7 @@ android { ...@@ -12,7 +12,7 @@ android {
//这里就是打jar包 //这里就是打jar包
task makeJar(type: Copy) { task makeJar(type: Copy) {
//删除旧的jar包 //删除旧的jar包
delete 'build/libs/sobot_gson_1.1.1.jar' delete 'build/libs/sobot_gson_1.1.2.jar'
//原地址 //原地址
from('build/intermediates/packaged-classes/release/') from('build/intermediates/packaged-classes/release/')
//导出jar包的地址 //导出jar包的地址
...@@ -20,7 +20,7 @@ android { ...@@ -20,7 +20,7 @@ android {
//包含的jar包 //包含的jar包
include('classes.jar') include('classes.jar')
//重命名jar包为mysdk //重命名jar包为mysdk
rename ('classes.jar', 'sobot_gson_1.1.1.jar') rename ('classes.jar', 'sobot_gson_1.1.2.jar')
} }
makeJar.dependsOn(build) makeJar.dependsOn(build)
} }
......
...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) { ...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext { ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名 PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'gson' //项目名 PUBLISH_ARTIFACT_ID = 'gson' //项目名
PUBLISH_VERSION = '1.1.1' //版本号 1.2 已经被使用了,需要跳过它 PUBLISH_VERSION = '1.1.2' //版本号 1.2 已经被使用了,需要跳过它
} }
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
/** /**
* A strategy (or policy) definition that is used to decide whether or not a field or top-level * A strategy (or policy) definition that is used to decide whether or not a field or top-level
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.$Gson$Preconditions; import com.sobot.chat.gson.internal.$Gson$Preconditions;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
...@@ -14,15 +14,15 @@ ...@@ -14,15 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.Locale; import java.util.Locale;
/** /**
* An enumeration that defines a few standard naming conventions for JSON field names. * An enumeration that defines a few standard naming conventions for JSON field names.
* This enumeration should be used in conjunction with {@link com.sobot.gson.GsonBuilder} * This enumeration should be used in conjunction with {@link GsonBuilder}
* to configure a {@link com.sobot.gson.Gson} instance to properly translate Java field * to configure a {@link Gson} instance to properly translate Java field
* names into the desired JSON field names. * names into the desired JSON field names.
* *
* @author Inderjeet Singh * @author Inderjeet Singh
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
...@@ -14,30 +14,32 @@ ...@@ -14,30 +14,32 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.ConstructorConstructor; import com.sobot.chat.gson.annotations.Expose;
import com.sobot.gson.internal.Excluder; import com.sobot.chat.gson.annotations.Since;
import com.sobot.gson.internal.LazilyParsedNumber; import com.sobot.chat.gson.internal.ConstructorConstructor;
import com.sobot.gson.internal.Primitives; import com.sobot.chat.gson.internal.Excluder;
import com.sobot.gson.internal.Streams; import com.sobot.chat.gson.internal.LazilyParsedNumber;
import com.sobot.gson.internal.bind.ArrayTypeAdapter; import com.sobot.chat.gson.internal.Primitives;
import com.sobot.gson.internal.bind.CollectionTypeAdapterFactory; import com.sobot.chat.gson.internal.Streams;
import com.sobot.gson.internal.bind.DateTypeAdapter; import com.sobot.chat.gson.internal.bind.ArrayTypeAdapter;
import com.sobot.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory; import com.sobot.chat.gson.internal.bind.CollectionTypeAdapterFactory;
import com.sobot.gson.internal.bind.JsonTreeReader; import com.sobot.chat.gson.internal.bind.DateTypeAdapter;
import com.sobot.gson.internal.bind.JsonTreeWriter; import com.sobot.chat.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory;
import com.sobot.gson.internal.bind.MapTypeAdapterFactory; import com.sobot.chat.gson.internal.bind.JsonTreeReader;
import com.sobot.gson.internal.bind.NumberTypeAdapter; import com.sobot.chat.gson.internal.bind.JsonTreeWriter;
import com.sobot.gson.internal.bind.ObjectTypeAdapter; import com.sobot.chat.gson.internal.bind.MapTypeAdapterFactory;
import com.sobot.gson.internal.bind.ReflectiveTypeAdapterFactory; import com.sobot.chat.gson.internal.bind.NumberTypeAdapter;
import com.sobot.gson.internal.bind.TypeAdapters; import com.sobot.chat.gson.internal.bind.ObjectTypeAdapter;
import com.sobot.gson.internal.sql.SqlTypesSupport; import com.sobot.chat.gson.internal.bind.ReflectiveTypeAdapterFactory;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.internal.bind.TypeAdapters;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.internal.sql.SqlTypesSupport;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.MalformedJsonException; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.chat.gson.stream.JsonWriter;
import com.sobot.chat.gson.stream.MalformedJsonException;
import java.io.EOFException; import java.io.EOFException;
import java.io.IOException; import java.io.IOException;
...@@ -177,10 +179,10 @@ public final class Gson { ...@@ -177,10 +179,10 @@ public final class Gson {
* ignores the millisecond portion of the date during serialization. You can change * ignores the millisecond portion of the date during serialization. You can change
* this by invoking {@link GsonBuilder#setDateFormat(int)} or * this by invoking {@link GsonBuilder#setDateFormat(int)} or
* {@link GsonBuilder#setDateFormat(String)}. </li> * {@link GsonBuilder#setDateFormat(String)}. </li>
* <li>By default, Gson ignores the {@link com.sobot.gson.annotations.Expose} annotation. * <li>By default, Gson ignores the {@link Expose} annotation.
* You can enable Gson to serialize/deserialize only those fields marked with this annotation * You can enable Gson to serialize/deserialize only those fields marked with this annotation
* through {@link GsonBuilder#excludeFieldsWithoutExposeAnnotation()}. </li> * through {@link GsonBuilder#excludeFieldsWithoutExposeAnnotation()}. </li>
* <li>By default, Gson ignores the {@link com.sobot.gson.annotations.Since} annotation. You * <li>By default, Gson ignores the {@link Since} annotation. You
* can enable Gson to use this annotation through {@link GsonBuilder#setVersion(double)}.</li> * can enable Gson to use this annotation through {@link GsonBuilder#setVersion(double)}.</li>
* <li>The default field naming policy for the output Json is same as in Java. So, a Java class * <li>The default field naming policy for the output Json is same as in Java. So, a Java class
* field <code>versionNumber</code> will be output as <code>&quot;versionNumber&quot;</code> in * field <code>versionNumber</code> will be output as <code>&quot;versionNumber&quot;</code> in
......
...@@ -14,28 +14,29 @@ ...@@ -14,28 +14,29 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import static com.sobot.gson.Gson.DEFAULT_COMPLEX_MAP_KEYS; import static com.sobot.chat.gson.Gson.DEFAULT_COMPLEX_MAP_KEYS;
import static com.sobot.gson.Gson.DEFAULT_DATE_PATTERN; import static com.sobot.chat.gson.Gson.DEFAULT_DATE_PATTERN;
import static com.sobot.gson.Gson.DEFAULT_ESCAPE_HTML; import static com.sobot.chat.gson.Gson.DEFAULT_ESCAPE_HTML;
import static com.sobot.gson.Gson.DEFAULT_JSON_NON_EXECUTABLE; import static com.sobot.chat.gson.Gson.DEFAULT_JSON_NON_EXECUTABLE;
import static com.sobot.gson.Gson.DEFAULT_LENIENT; import static com.sobot.chat.gson.Gson.DEFAULT_LENIENT;
import static com.sobot.gson.Gson.DEFAULT_NUMBER_TO_NUMBER_STRATEGY; import static com.sobot.chat.gson.Gson.DEFAULT_NUMBER_TO_NUMBER_STRATEGY;
import static com.sobot.gson.Gson.DEFAULT_OBJECT_TO_NUMBER_STRATEGY; import static com.sobot.chat.gson.Gson.DEFAULT_OBJECT_TO_NUMBER_STRATEGY;
import static com.sobot.gson.Gson.DEFAULT_PRETTY_PRINT; import static com.sobot.chat.gson.Gson.DEFAULT_PRETTY_PRINT;
import static com.sobot.gson.Gson.DEFAULT_SERIALIZE_NULLS; import static com.sobot.chat.gson.Gson.DEFAULT_SERIALIZE_NULLS;
import static com.sobot.gson.Gson.DEFAULT_SPECIALIZE_FLOAT_VALUES; import static com.sobot.chat.gson.Gson.DEFAULT_SPECIALIZE_FLOAT_VALUES;
import static com.sobot.gson.Gson.DEFAULT_USE_JDK_UNSAFE; import static com.sobot.chat.gson.Gson.DEFAULT_USE_JDK_UNSAFE;
import com.sobot.gson.internal.$Gson$Preconditions; import com.sobot.chat.gson.annotations.Expose;
import com.sobot.gson.internal.Excluder; import com.sobot.chat.gson.internal.$Gson$Preconditions;
import com.sobot.gson.internal.bind.DefaultDateTypeAdapter; import com.sobot.chat.gson.internal.Excluder;
import com.sobot.gson.internal.bind.TreeTypeAdapter; import com.sobot.chat.gson.internal.bind.DefaultDateTypeAdapter;
import com.sobot.gson.internal.bind.TypeAdapters; import com.sobot.chat.gson.internal.bind.TreeTypeAdapter;
import com.sobot.gson.internal.sql.SqlTypesSupport; import com.sobot.chat.gson.internal.bind.TypeAdapters;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.internal.sql.SqlTypesSupport;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.chat.gson.stream.JsonReader;
import java.lang.reflect.Type; import java.lang.reflect.Type;
import java.text.DateFormat; import java.text.DateFormat;
...@@ -185,7 +186,7 @@ public final class GsonBuilder { ...@@ -185,7 +186,7 @@ public final class GsonBuilder {
/** /**
* Configures Gson to exclude all fields from consideration for serialization or deserialization * Configures Gson to exclude all fields from consideration for serialization or deserialization
* that do not have the {@link com.sobot.gson.annotations.Expose} annotation. * that do not have the {@link Expose} annotation.
* *
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern * @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
*/ */
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.BigInteger; import java.math.BigInteger;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.Streams; import com.sobot.chat.gson.internal.Streams;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.io.StringWriter; import java.io.StringWriter;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
/** /**
* This exception is raised when Gson was unable to read an input stream * This exception is raised when Gson was unable to read an input stream
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
/** /**
* A class representing a Json {@code null} value. * A class representing a Json {@code null} value.
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.LinkedTreeMap; import com.sobot.chat.gson.internal.LinkedTreeMap;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
/** /**
* This exception is raised if there is a serious issue that occurs during parsing of a Json * This exception is raised if there is a serious issue that occurs during parsing of a Json
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.Streams; import com.sobot.chat.gson.internal.Streams;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.MalformedJsonException; import com.sobot.chat.gson.stream.MalformedJsonException;
import java.io.IOException; import java.io.IOException;
import java.io.Reader; import java.io.Reader;
......
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.$Gson$Preconditions; import com.sobot.chat.gson.internal.$Gson$Preconditions;
import com.sobot.gson.internal.LazilyParsedNumber; import com.sobot.chat.gson.internal.LazilyParsedNumber;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.BigInteger; import java.math.BigInteger;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import java.lang.reflect.Type; import java.lang.reflect.Type;
/** /**
* Interface representing a custom serializer for Json. You should write a custom serializer, if * Interface representing a custom serializer for Json. You should write a custom serializer, if
* you are not happy with the default serialization done by Gson. You will also need to register * you are not happy with the default serialization done by Gson. You will also need to register
* this serializer through {@link com.sobot.gson.GsonBuilder#registerTypeAdapter(Type, Object)}. * this serializer through {@link GsonBuilder#registerTypeAdapter(Type, Object)}.
* *
* <p>Let us look at example where defining a serializer will be useful. The {@code Id} class * <p>Let us look at example where defining a serializer will be useful. The {@code Id} class
* defined below has two fields: {@code clazz} and {@code value}.</p> * defined below has two fields: {@code clazz} and {@code value}.</p>
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.Streams; import com.sobot.chat.gson.internal.Streams;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.MalformedJsonException; import com.sobot.chat.gson.stream.MalformedJsonException;
import java.io.EOFException; import java.io.EOFException;
import java.io.IOException; import java.io.IOException;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
/** /**
* This exception is raised when Gson attempts to read (or write) a malformed * This exception is raised when Gson attempts to read (or write) a malformed
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
/** /**
* Defines the expected format for a {@code long} or {@code Long} type when it is serialized. * Defines the expected format for a {@code long} or {@code Long} type when it is serialized.
......
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.ReflectionAccessFilterHelper; import com.sobot.chat.gson.internal.ReflectionAccessFilterHelper;
import java.lang.reflect.AccessibleObject; import java.lang.reflect.AccessibleObject;
......
package com.sobot.gson; package com.sobot.chat.gson;
import android.util.Log; import android.util.Log;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import java.lang.reflect.Type; import java.lang.reflect.Type;
import java.util.ArrayList; import java.util.ArrayList;
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.LazilyParsedNumber; import com.sobot.chat.gson.internal.LazilyParsedNumber;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.MalformedJsonException; import com.sobot.chat.gson.stream.MalformedJsonException;
import java.io.IOException; import java.io.IOException;
import java.math.BigDecimal; import java.math.BigDecimal;
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.internal.bind.JsonTreeReader; import com.sobot.chat.gson.internal.bind.JsonTreeReader;
import com.sobot.gson.internal.bind.JsonTreeWriter; import com.sobot.chat.gson.internal.bind.JsonTreeWriter;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.io.Reader; import java.io.Reader;
...@@ -132,7 +132,7 @@ public abstract class TypeAdapter<T> { ...@@ -132,7 +132,7 @@ public abstract class TypeAdapter<T> {
* Unlike Gson's similar {@link Gson#toJson(JsonElement, Appendable) toJson} * Unlike Gson's similar {@link Gson#toJson(JsonElement, Appendable) toJson}
* method, this write is strict. Create a {@link * method, this write is strict. Create a {@link
* JsonWriter#setLenient(boolean) lenient} {@code JsonWriter} and call * JsonWriter#setLenient(boolean) lenient} {@code JsonWriter} and call
* {@link #write(com.sobot.gson.stream.JsonWriter, Object)} for lenient * {@link #write(JsonWriter, Object)} for lenient
* writing. * writing.
* *
* @param value the Java object to convert. May be null. * @param value the Java object to convert. May be null.
...@@ -206,7 +206,7 @@ public abstract class TypeAdapter<T> { ...@@ -206,7 +206,7 @@ public abstract class TypeAdapter<T> {
* Converts {@code value} to a JSON document. Unlike Gson's similar {@link * Converts {@code value} to a JSON document. Unlike Gson's similar {@link
* Gson#toJson(Object) toJson} method, this write is strict. Create a {@link * Gson#toJson(Object) toJson} method, this write is strict. Create a {@link
* JsonWriter#setLenient(boolean) lenient} {@code JsonWriter} and call * JsonWriter#setLenient(boolean) lenient} {@code JsonWriter} and call
* {@link #write(com.sobot.gson.stream.JsonWriter, Object)} for lenient * {@link #write(JsonWriter, Object)} for lenient
* writing. * writing.
* *
* @param value the Java object to convert. May be null. * @param value the Java object to convert. May be null.
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
/** /**
* Creates type adapters for set of related types. Type adapter factories are * Creates type adapters for set of related types. Type adapter factories are
...@@ -80,7 +80,7 @@ import com.sobot.gson.reflect.TypeToken; ...@@ -80,7 +80,7 @@ import com.sobot.gson.reflect.TypeToken;
* mapping from lowercase name to enum value is computed eagerly. * mapping from lowercase name to enum value is computed eagerly.
* *
* <p>As with type adapters, factories must be <i>registered</i> with a {@link * <p>As with type adapters, factories must be <i>registered</i> with a {@link
* com.sobot.gson.GsonBuilder} for them to take effect: <pre> {@code * GsonBuilder} for them to take effect: <pre> {@code
* *
* GsonBuilder builder = new GsonBuilder(); * GsonBuilder builder = new GsonBuilder();
* builder.registerTypeAdapterFactory(new LowercaseEnumTypeAdapterFactory()); * builder.registerTypeAdapterFactory(new LowercaseEnumTypeAdapterFactory());
......
...@@ -14,7 +14,10 @@ ...@@ -14,7 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.annotations; package com.sobot.chat.gson.annotations;
import com.sobot.chat.gson.Gson;
import com.sobot.chat.gson.GsonBuilder;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
...@@ -26,9 +29,9 @@ import java.lang.annotation.Target; ...@@ -26,9 +29,9 @@ import java.lang.annotation.Target;
* An annotation that indicates this member should be exposed for JSON * An annotation that indicates this member should be exposed for JSON
* serialization or deserialization. * serialization or deserialization.
* *
* <p>This annotation has no effect unless you build {@link com.sobot.gson.Gson} * <p>This annotation has no effect unless you build {@link Gson}
* with a {@link com.sobot.gson.GsonBuilder} and invoke * with a {@link GsonBuilder} and invoke
* {@link com.sobot.gson.GsonBuilder#excludeFieldsWithoutExposeAnnotation()} * {@link GsonBuilder#excludeFieldsWithoutExposeAnnotation()}
* method.</p> * method.</p>
* *
* <p>Here is an example of how this annotation is meant to be used: * <p>Here is an example of how this annotation is meant to be used:
......
...@@ -14,12 +14,13 @@ ...@@ -14,12 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.annotations; package com.sobot.chat.gson.annotations;
import com.sobot.gson.JsonDeserializer; import com.sobot.chat.gson.GsonBuilder;
import com.sobot.gson.JsonSerializer; import com.sobot.chat.gson.JsonDeserializer;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.JsonSerializer;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.chat.gson.TypeAdapterFactory;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
...@@ -75,7 +76,7 @@ import java.lang.annotation.Target; ...@@ -75,7 +76,7 @@ import java.lang.annotation.Target;
* </pre> * </pre>
* *
* It's possible to specify different type adapters on a field, that * It's possible to specify different type adapters on a field, that
* field's type, and in the {@link com.sobot.gson.GsonBuilder}. Field * field's type, and in the {@link GsonBuilder}. Field
* annotations take precedence over {@code GsonBuilder}-registered type * annotations take precedence over {@code GsonBuilder}-registered type
* adapters, which in turn take precedence over annotated types. * adapters, which in turn take precedence over annotated types.
* *
......
...@@ -14,7 +14,11 @@ ...@@ -14,7 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.annotations; package com.sobot.chat.gson.annotations;
import com.sobot.chat.gson.FieldNamingPolicy;
import com.sobot.chat.gson.Gson;
import com.sobot.chat.gson.GsonBuilder;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
...@@ -26,10 +30,10 @@ import java.lang.annotation.Target; ...@@ -26,10 +30,10 @@ import java.lang.annotation.Target;
* An annotation that indicates this member should be serialized to JSON with * An annotation that indicates this member should be serialized to JSON with
* the provided name value as its field name. * the provided name value as its field name.
* *
* <p>This annotation will override any {@link com.sobot.gson.FieldNamingPolicy}, including * <p>This annotation will override any {@link FieldNamingPolicy}, including
* the default field naming policy, that may have been set on the {@link com.sobot.gson.Gson} * the default field naming policy, that may have been set on the {@link Gson}
* instance. A different naming policy can set using the {@code GsonBuilder} class. See * instance. A different naming policy can set using the {@code GsonBuilder} class. See
* {@link com.sobot.gson.GsonBuilder#setFieldNamingPolicy(com.sobot.gson.FieldNamingPolicy)} * {@link GsonBuilder#setFieldNamingPolicy(FieldNamingPolicy)}
* for more information.</p> * for more information.</p>
* *
* <p>Here is an example of how this annotation is meant to be used:</p> * <p>Here is an example of how this annotation is meant to be used:</p>
...@@ -72,7 +76,7 @@ import java.lang.annotation.Target; ...@@ -72,7 +76,7 @@ import java.lang.annotation.Target;
* </pre> * </pre>
* Note that MyClass.b is now deserialized from either name1, name2 or name3. * Note that MyClass.b is now deserialized from either name1, name2 or name3.
* *
* @see com.sobot.gson.FieldNamingPolicy * @see FieldNamingPolicy
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch * @author Joel Leitch
......
...@@ -14,7 +14,10 @@ ...@@ -14,7 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.annotations; package com.sobot.chat.gson.annotations;
import com.sobot.chat.gson.Gson;
import com.sobot.chat.gson.GsonBuilder;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
...@@ -27,9 +30,9 @@ import java.lang.annotation.Target; ...@@ -27,9 +30,9 @@ import java.lang.annotation.Target;
* This annotation is useful to manage versioning of your Json classes for a web-service. * This annotation is useful to manage versioning of your Json classes for a web-service.
* *
* <p> * <p>
* This annotation has no effect unless you build {@link com.sobot.gson.Gson} with a * This annotation has no effect unless you build {@link Gson} with a
* {@link com.sobot.gson.GsonBuilder} and invoke * {@link GsonBuilder} and invoke
* {@link com.sobot.gson.GsonBuilder#setVersion(double)} method. * {@link GsonBuilder#setVersion(double)} method.
* *
* <p>Here is an example of how this annotation is meant to be used:</p> * <p>Here is an example of how this annotation is meant to be used:</p>
* <pre> * <pre>
......
...@@ -14,7 +14,10 @@ ...@@ -14,7 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.annotations; package com.sobot.chat.gson.annotations;
import com.sobot.chat.gson.Gson;
import com.sobot.chat.gson.GsonBuilder;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
...@@ -29,9 +32,9 @@ import java.lang.annotation.Target; ...@@ -29,9 +32,9 @@ import java.lang.annotation.Target;
* is useful to manage versioning of your JSON classes for a web-service. * is useful to manage versioning of your JSON classes for a web-service.
* *
* <p> * <p>
* This annotation has no effect unless you build {@link com.sobot.gson.Gson} with a * This annotation has no effect unless you build {@link Gson} with a
* {@link com.sobot.gson.GsonBuilder} and invoke * {@link GsonBuilder} and invoke
* {@link com.sobot.gson.GsonBuilder#setVersion(double)} method. * {@link GsonBuilder#setVersion(double)} method.
* *
* <p>Here is an example of how this annotation is meant to be used:</p> * <p>Here is an example of how this annotation is meant to be used:</p>
* <pre> * <pre>
......
/** /**
* This package provides annotations that can be used with {@link com.sobot.gson.Gson}. * This package provides annotations that can be used with {@link com.sobot.chat.gson.Gson}.
* *
* @author Inderjeet Singh, Joel Leitch * @author Inderjeet Singh, Joel Leitch
*/ */
package com.sobot.gson.annotations; package com.sobot.chat.gson.annotations;
\ No newline at end of file \ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
/** /**
* A simple utility class used to check method Preconditions. * A simple utility class used to check method Preconditions.
......
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import static com.sobot.gson.internal.$Gson$Preconditions.checkArgument; import static com.sobot.chat.gson.internal.$Gson$Preconditions.checkArgument;
import static com.sobot.gson.internal.$Gson$Preconditions.checkNotNull; import static com.sobot.chat.gson.internal.$Gson$Preconditions.checkNotNull;
import java.io.Serializable; import java.io.Serializable;
import java.lang.reflect.Array; import java.lang.reflect.Array;
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import com.sobot.gson.InstanceCreator; import com.sobot.chat.gson.InstanceCreator;
import com.sobot.gson.JsonIOException; import com.sobot.chat.gson.JsonIOException;
import com.sobot.gson.ReflectionAccessFilter; import com.sobot.chat.gson.ReflectionAccessFilter;
import com.sobot.gson.ReflectionAccessFilter.FilterResult; import com.sobot.chat.gson.ReflectionAccessFilter.FilterResult;
import com.sobot.gson.internal.reflect.ReflectionHelper; import com.sobot.chat.gson.internal.reflect.ReflectionHelper;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
......
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import com.sobot.gson.ExclusionStrategy; import com.sobot.chat.gson.ExclusionStrategy;
import com.sobot.gson.FieldAttributes; import com.sobot.chat.gson.FieldAttributes;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.annotations.Expose; import com.sobot.chat.gson.annotations.Expose;
import com.sobot.gson.annotations.Since; import com.sobot.chat.gson.annotations.Since;
import com.sobot.gson.annotations.Until; import com.sobot.chat.gson.annotations.Until;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
/** /**
* Utility to check the major Java version of the current JVM. * Utility to check the major Java version of the current JVM.
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import java.io.IOException; import java.io.IOException;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import java.io.IOException; import java.io.IOException;
import java.io.InvalidObjectException; import java.io.InvalidObjectException;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import java.io.IOException; import java.io.IOException;
import java.io.InvalidObjectException; import java.io.InvalidObjectException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
/** /**
* Defines a generic object construction factory. The purpose of this class * Defines a generic object construction factory. The purpose of this class
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import com.sobot.gson.ReflectionAccessFilter; import com.sobot.chat.gson.ReflectionAccessFilter;
import com.sobot.gson.ReflectionAccessFilter.FilterResult; import com.sobot.chat.gson.ReflectionAccessFilter.FilterResult;
import java.lang.reflect.AccessibleObject; import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Method; import java.lang.reflect.Method;
......
...@@ -14,17 +14,17 @@ ...@@ -14,17 +14,17 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import com.sobot.gson.JsonElement; import com.sobot.chat.gson.JsonElement;
import com.sobot.gson.JsonIOException; import com.sobot.chat.gson.JsonIOException;
import com.sobot.gson.JsonNull; import com.sobot.chat.gson.JsonNull;
import com.sobot.gson.JsonParseException; import com.sobot.chat.gson.JsonParseException;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.internal.bind.TypeAdapters; import com.sobot.chat.gson.internal.bind.TypeAdapters;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import com.sobot.gson.stream.MalformedJsonException; import com.sobot.chat.gson.stream.MalformedJsonException;
import java.io.EOFException; import java.io.EOFException;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectStreamClass; import java.io.ObjectStreamClass;
......
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.$Gson$Types; import com.sobot.chat.gson.internal.$Gson$Types;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Array; import java.lang.reflect.Array;
......
...@@ -14,18 +14,18 @@ ...@@ -14,18 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.$Gson$Types; import com.sobot.chat.gson.internal.$Gson$Types;
import com.sobot.gson.internal.ConstructorConstructor; import com.sobot.chat.gson.internal.ConstructorConstructor;
import com.sobot.gson.internal.ObjectConstructor; import com.sobot.chat.gson.internal.ObjectConstructor;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.JavaVersion; import com.sobot.chat.gson.internal.JavaVersion;
import com.sobot.gson.internal.PreJava9DateFormatProvider; import com.sobot.chat.gson.internal.PreJava9DateFormatProvider;
import com.sobot.gson.internal.bind.util.ISO8601Utils; import com.sobot.chat.gson.internal.bind.util.ISO8601Utils;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.text.DateFormat; import java.text.DateFormat;
......
...@@ -14,18 +14,18 @@ ...@@ -14,18 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.$Gson$Preconditions; import com.sobot.chat.gson.internal.$Gson$Preconditions;
import com.sobot.gson.internal.JavaVersion; import com.sobot.chat.gson.internal.JavaVersion;
import com.sobot.gson.internal.PreJava9DateFormatProvider; import com.sobot.chat.gson.internal.PreJava9DateFormatProvider;
import com.sobot.gson.internal.bind.util.ISO8601Utils; import com.sobot.chat.gson.internal.bind.util.ISO8601Utils;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.text.DateFormat; import java.text.DateFormat;
......
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonDeserializer; import com.sobot.chat.gson.JsonDeserializer;
import com.sobot.gson.JsonSerializer; import com.sobot.chat.gson.JsonSerializer;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.annotations.JsonAdapter; import com.sobot.chat.gson.annotations.JsonAdapter;
import com.sobot.gson.internal.ConstructorConstructor; import com.sobot.chat.gson.internal.ConstructorConstructor;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
/** /**
* Given a type T, looks for the annotation {@link JsonAdapter} and uses an instance of the * Given a type T, looks for the annotation {@link JsonAdapter} and uses an instance of the
......
...@@ -14,15 +14,15 @@ ...@@ -14,15 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.JsonArray; import com.sobot.chat.gson.JsonArray;
import com.sobot.gson.JsonElement; import com.sobot.chat.gson.JsonElement;
import com.sobot.gson.JsonNull; import com.sobot.chat.gson.JsonNull;
import com.sobot.gson.JsonObject; import com.sobot.chat.gson.JsonObject;
import com.sobot.gson.JsonPrimitive; import com.sobot.chat.gson.JsonPrimitive;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import java.io.IOException; import java.io.IOException;
import java.io.Reader; import java.io.Reader;
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.JsonArray; import com.sobot.chat.gson.JsonArray;
import com.sobot.gson.JsonElement; import com.sobot.chat.gson.JsonElement;
import com.sobot.gson.JsonNull; import com.sobot.chat.gson.JsonNull;
import com.sobot.gson.JsonObject; import com.sobot.chat.gson.JsonObject;
import com.sobot.gson.JsonPrimitive; import com.sobot.chat.gson.JsonPrimitive;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.io.Writer; import java.io.Writer;
......
...@@ -14,23 +14,23 @@ ...@@ -14,23 +14,23 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonElement; import com.sobot.chat.gson.JsonElement;
import com.sobot.gson.JsonPrimitive; import com.sobot.chat.gson.JsonPrimitive;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.$Gson$Types; import com.sobot.chat.gson.internal.$Gson$Types;
import com.sobot.gson.internal.ConstructorConstructor; import com.sobot.chat.gson.internal.ConstructorConstructor;
import com.sobot.gson.internal.JsonReaderInternalAccess; import com.sobot.chat.gson.internal.JsonReaderInternalAccess;
import com.sobot.gson.internal.ObjectConstructor; import com.sobot.chat.gson.internal.ObjectConstructor;
import com.sobot.gson.internal.Streams; import com.sobot.chat.gson.internal.Streams;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -14,18 +14,18 @@ ...@@ -14,18 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.ToNumberPolicy; import com.sobot.chat.gson.ToNumberPolicy;
import com.sobot.gson.ToNumberStrategy; import com.sobot.chat.gson.ToNumberStrategy;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,18 +14,18 @@ ...@@ -14,18 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.ToNumberPolicy; import com.sobot.chat.gson.ToNumberPolicy;
import com.sobot.gson.ToNumberStrategy; import com.sobot.chat.gson.ToNumberStrategy;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.LinkedTreeMap; import com.sobot.chat.gson.internal.LinkedTreeMap;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
......
...@@ -14,29 +14,29 @@ ...@@ -14,29 +14,29 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.FieldNamingStrategy; import com.sobot.chat.gson.FieldNamingStrategy;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonIOException; import com.sobot.chat.gson.JsonIOException;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.ReflectionAccessFilter; import com.sobot.chat.gson.ReflectionAccessFilter;
import com.sobot.gson.ReflectionAccessFilter.FilterResult; import com.sobot.chat.gson.ReflectionAccessFilter.FilterResult;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.annotations.JsonAdapter; import com.sobot.chat.gson.annotations.JsonAdapter;
import com.sobot.gson.annotations.SerializedName; import com.sobot.chat.gson.annotations.SerializedName;
import com.sobot.gson.internal.$Gson$Types; import com.sobot.chat.gson.internal.$Gson$Types;
import com.sobot.gson.internal.ConstructorConstructor; import com.sobot.chat.gson.internal.ConstructorConstructor;
import com.sobot.gson.internal.Excluder; import com.sobot.chat.gson.internal.Excluder;
import com.sobot.gson.internal.ObjectConstructor; import com.sobot.chat.gson.internal.ObjectConstructor;
import com.sobot.gson.internal.Primitives; import com.sobot.chat.gson.internal.Primitives;
import com.sobot.gson.internal.ReflectionAccessFilterHelper; import com.sobot.chat.gson.internal.ReflectionAccessFilterHelper;
import com.sobot.gson.internal.reflect.ReflectionHelper; import com.sobot.chat.gson.internal.reflect.ReflectionHelper;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
...@@ -14,22 +14,22 @@ ...@@ -14,22 +14,22 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonDeserializationContext; import com.sobot.chat.gson.JsonDeserializationContext;
import com.sobot.gson.JsonDeserializer; import com.sobot.chat.gson.JsonDeserializer;
import com.sobot.gson.JsonElement; import com.sobot.chat.gson.JsonElement;
import com.sobot.gson.JsonParseException; import com.sobot.chat.gson.JsonParseException;
import com.sobot.gson.JsonSerializationContext; import com.sobot.chat.gson.JsonSerializationContext;
import com.sobot.gson.JsonSerializer; import com.sobot.chat.gson.JsonSerializer;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.$Gson$Preconditions; import com.sobot.chat.gson.internal.$Gson$Preconditions;
import com.sobot.gson.internal.Streams; import com.sobot.chat.gson.internal.Streams;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Type; import java.lang.reflect.Type;
......
...@@ -14,24 +14,24 @@ ...@@ -14,24 +14,24 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.bind; package com.sobot.chat.gson.internal.bind;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonArray; import com.sobot.chat.gson.JsonArray;
import com.sobot.gson.JsonElement; import com.sobot.chat.gson.JsonElement;
import com.sobot.gson.JsonIOException; import com.sobot.chat.gson.JsonIOException;
import com.sobot.gson.JsonNull; import com.sobot.chat.gson.JsonNull;
import com.sobot.gson.JsonObject; import com.sobot.chat.gson.JsonObject;
import com.sobot.gson.JsonPrimitive; import com.sobot.chat.gson.JsonPrimitive;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.annotations.SerializedName; import com.sobot.chat.gson.annotations.SerializedName;
import com.sobot.gson.internal.LazilyParsedNumber; import com.sobot.chat.gson.internal.LazilyParsedNumber;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.AccessibleObject; import java.lang.reflect.AccessibleObject;
......
package com.sobot.gson.internal.bind.util; package com.sobot.chat.gson.internal.bind.util;
import java.text.ParseException; import java.text.ParseException;
import java.text.ParsePosition; import java.text.ParsePosition;
......
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
* *
* @author Inderjeet Singh, Joel Leitch, Jesse Wilson * @author Inderjeet Singh, Joel Leitch, Jesse Wilson
*/ */
package com.sobot.gson.internal; package com.sobot.chat.gson.internal;
\ No newline at end of file \ No newline at end of file
package com.sobot.gson.internal.reflect; package com.sobot.chat.gson.internal.reflect;
import com.sobot.gson.JsonIOException; import com.sobot.chat.gson.JsonIOException;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.sql; package com.sobot.chat.gson.internal.sql;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.text.DateFormat; import java.text.DateFormat;
......
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.internal.sql; package com.sobot.chat.gson.internal.sql;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.JsonSyntaxException; import com.sobot.chat.gson.JsonSyntaxException;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonToken; import com.sobot.chat.gson.stream.JsonToken;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.sql.Time; import java.sql.Time;
......
package com.sobot.gson.internal.sql; package com.sobot.chat.gson.internal.sql;
import com.sobot.gson.Gson; import com.sobot.chat.gson.Gson;
import com.sobot.gson.TypeAdapter; import com.sobot.chat.gson.TypeAdapter;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.reflect.TypeToken; import com.sobot.chat.gson.reflect.TypeToken;
import com.sobot.gson.stream.JsonReader; import com.sobot.chat.gson.stream.JsonReader;
import com.sobot.gson.stream.JsonWriter; import com.sobot.chat.gson.stream.JsonWriter;
import java.io.IOException; import java.io.IOException;
import java.sql.Timestamp; import java.sql.Timestamp;
......
package com.sobot.gson.internal.sql; package com.sobot.chat.gson.internal.sql;
import com.sobot.gson.TypeAdapterFactory; import com.sobot.chat.gson.TypeAdapterFactory;
import com.sobot.gson.internal.bind.DefaultDateTypeAdapter.DateType; import com.sobot.chat.gson.internal.bind.DefaultDateTypeAdapter.DateType;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.Date; import java.util.Date;
......
/** /**
* This package provides the {@link com.sobot.gson.Gson} class to convert Json to Java and * This package provides the {@link com.sobot.chat.gson.Gson} class to convert Json to Java and
* vice-versa. * vice-versa.
* *
* <p>The primary class to use is {@link com.sobot.gson.Gson} which can be constructed with * <p>The primary class to use is {@link com.sobot.chat.gson.Gson} which can be constructed with
* {@code new Gson()} (using default settings) or by using {@link com.sobot.gson.GsonBuilder} * {@code new Gson()} (using default settings) or by using {@link com.sobot.chat.gson.GsonBuilder}
* (to configure various options such as using versioning and so on).</p> * (to configure various options such as using versioning and so on).</p>
* *
* @author Inderjeet Singh, Joel Leitch * @author Inderjeet Singh, Joel Leitch
*/ */
package com.sobot.gson; package com.sobot.chat.gson;
\ No newline at end of file \ No newline at end of file
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.reflect; package com.sobot.chat.gson.reflect;
import com.sobot.gson.internal.$Gson$Preconditions; import com.sobot.chat.gson.internal.$Gson$Preconditions;
import com.sobot.gson.internal.$Gson$Types; import com.sobot.chat.gson.internal.$Gson$Types;
import java.lang.reflect.GenericArrayType; import java.lang.reflect.GenericArrayType;
import java.lang.reflect.ParameterizedType; import java.lang.reflect.ParameterizedType;
......
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
* *
* @author Inderjeet Singh, Joel Leitch * @author Inderjeet Singh, Joel Leitch
*/ */
package com.sobot.gson.reflect; package com.sobot.chat.gson.reflect;
\ No newline at end of file \ No newline at end of file
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.stream; package com.sobot.chat.gson.stream;
import com.sobot.gson.internal.JsonReaderInternalAccess; import com.sobot.chat.gson.internal.JsonReaderInternalAccess;
import com.sobot.gson.internal.bind.JsonTreeReader; import com.sobot.chat.gson.internal.bind.JsonTreeReader;
import java.io.Closeable; import java.io.Closeable;
import java.io.EOFException; import java.io.EOFException;
...@@ -768,7 +768,7 @@ public class JsonReader implements Closeable { ...@@ -768,7 +768,7 @@ public class JsonReader implements Closeable {
} }
/** /**
* Returns the next token, a {@link com.sobot.gson.stream.JsonToken#NAME property name}, and * Returns the next token, a {@link JsonToken#NAME property name}, and
* consumes it. * consumes it.
* *
* @throws IOException if the next token in the stream is not a property * @throws IOException if the next token in the stream is not a property
...@@ -795,7 +795,7 @@ public class JsonReader implements Closeable { ...@@ -795,7 +795,7 @@ public class JsonReader implements Closeable {
} }
/** /**
* Returns the {@link com.sobot.gson.stream.JsonToken#STRING string} value of the next token, * Returns the {@link JsonToken#STRING string} value of the next token,
* consuming it. If the next token is a number, this method will return its * consuming it. If the next token is a number, this method will return its
* string form. * string form.
* *
...@@ -831,7 +831,7 @@ public class JsonReader implements Closeable { ...@@ -831,7 +831,7 @@ public class JsonReader implements Closeable {
} }
/** /**
* Returns the {@link com.sobot.gson.stream.JsonToken#BOOLEAN boolean} value of the next token, * Returns the {@link JsonToken#BOOLEAN boolean} value of the next token,
* consuming it. * consuming it.
* *
* @throws IllegalStateException if the next token is not a boolean or if * @throws IllegalStateException if the next token is not a boolean or if
...@@ -875,7 +875,7 @@ public class JsonReader implements Closeable { ...@@ -875,7 +875,7 @@ public class JsonReader implements Closeable {
} }
/** /**
* Returns the {@link com.sobot.gson.stream.JsonToken#NUMBER double} value of the next token, * Returns the {@link JsonToken#NUMBER double} value of the next token,
* consuming it. If the next token is a string, this method will attempt to * consuming it. If the next token is a string, this method will attempt to
* parse it as a double using {@link Double#parseDouble(String)}. * parse it as a double using {@link Double#parseDouble(String)}.
* *
...@@ -919,7 +919,7 @@ public class JsonReader implements Closeable { ...@@ -919,7 +919,7 @@ public class JsonReader implements Closeable {
} }
/** /**
* Returns the {@link com.sobot.gson.stream.JsonToken#NUMBER long} value of the next token, * Returns the {@link JsonToken#NUMBER long} value of the next token,
* consuming it. If the next token is a string, this method will attempt to * consuming it. If the next token is a string, this method will attempt to
* parse it as a long. If the next token's numeric value cannot be exactly * parse it as a long. If the next token's numeric value cannot be exactly
* represented by a Java {@code long}, this method throws. * represented by a Java {@code long}, this method throws.
...@@ -1151,7 +1151,7 @@ public class JsonReader implements Closeable { ...@@ -1151,7 +1151,7 @@ public class JsonReader implements Closeable {
} }
/** /**
* Returns the {@link com.sobot.gson.stream.JsonToken#NUMBER int} value of the next token, * Returns the {@link JsonToken#NUMBER int} value of the next token,
* consuming it. If the next token is a string, this method will attempt to * consuming it. If the next token is a string, this method will attempt to
* parse it as an int. If the next token's numeric value cannot be exactly * parse it as an int. If the next token's numeric value cannot be exactly
* represented by a Java {@code int}, this method throws. * represented by a Java {@code int}, this method throws.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.stream; package com.sobot.chat.gson.stream;
/** /**
* Lexical scoping elements within a JSON reader or writer. * Lexical scoping elements within a JSON reader or writer.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.stream; package com.sobot.chat.gson.stream;
/** /**
* A structure, name or value type in a JSON-encoded string. * A structure, name or value type in a JSON-encoded string.
......
...@@ -14,15 +14,15 @@ ...@@ -14,15 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.stream; package com.sobot.chat.gson.stream;
import static com.sobot.gson.stream.JsonScope.DANGLING_NAME; import static com.sobot.chat.gson.stream.JsonScope.DANGLING_NAME;
import static com.sobot.gson.stream.JsonScope.EMPTY_ARRAY; import static com.sobot.chat.gson.stream.JsonScope.EMPTY_ARRAY;
import static com.sobot.gson.stream.JsonScope.EMPTY_DOCUMENT; import static com.sobot.chat.gson.stream.JsonScope.EMPTY_DOCUMENT;
import static com.sobot.gson.stream.JsonScope.EMPTY_OBJECT; import static com.sobot.chat.gson.stream.JsonScope.EMPTY_OBJECT;
import static com.sobot.gson.stream.JsonScope.NONEMPTY_ARRAY; import static com.sobot.chat.gson.stream.JsonScope.NONEMPTY_ARRAY;
import static com.sobot.gson.stream.JsonScope.NONEMPTY_DOCUMENT; import static com.sobot.chat.gson.stream.JsonScope.NONEMPTY_DOCUMENT;
import static com.sobot.gson.stream.JsonScope.NONEMPTY_OBJECT; import static com.sobot.chat.gson.stream.JsonScope.NONEMPTY_OBJECT;
import java.io.Closeable; import java.io.Closeable;
import java.io.Flushable; import java.io.Flushable;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.sobot.gson.stream; package com.sobot.chat.gson.stream;
import java.io.IOException; import java.io.IOException;
......
/** /**
* This package provides classes for processing JSON in an efficient streaming way. * This package provides classes for processing JSON in an efficient streaming way.
*/ */
package com.sobot.gson.stream; package com.sobot.chat.gson.stream;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment