Download coderank/dumps/project_search-docs-gson.jsonl from paintedwolfcode/bialy-dataset: direct link, hf CLI and curl.
- Browser
- Download file 67.3 kB
-
https://huggingface.co/datasets/paintedwolfcode/bialy-dataset/resolve/main/coderank/dumps/project_search-docs-gson.jsonl
- Command line
-
hf download hf://datasets/paintedwolfcode/bialy-dataset/coderank/dumps/project_search-docs-gson.jsonl
-
curl -L -o project_search-docs-gson.jsonl https://huggingface.co/datasets/paintedwolfcode/bialy-dataset/resolve/main/coderank/dumps/project_search-docs-gson.jsonl
67.3 kB
| {"site":"project_search","repo":"gson","task":"This interface is implemented by a class that wishes to inspect or modify an object after it has been deserialized.","query":"this interface implemented","file":"extras/src/main/java/com/google/gson/interceptors/JsonPostDeserializer.java","symbol":"JsonPostDeserializer","line":27,"lang":"en","candidates":[{"text":"File: extras/src/main/java/com/google/gson/interceptors/JsonPostDeserializer.java\nLine 21: * This interface is implemented by a class that wishes to inspect or modify an object after it has","file":"extras/src/main/java/com/google/gson/interceptors/JsonPostDeserializer.java","line":21,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/InstanceCreator.java\nLine 22: * This interface is implemented to create instances of a class that does not define a no-args","file":"gson/src/main/java/com/google/gson/InstanceCreator.java","line":22,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/internal/GsonTypes.java\nLine 276: * @param supertype a superclass of, or interface implemented by, this.","file":"gson/src/main/java/com/google/gson/internal/GsonTypes.java","line":276,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"are restored once this method returns.","query":"restored once this","file":"gson/src/main/java/com/google/gson/Gson.java","symbol":"toJson","line":751,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/Gson.java\nLine 663: * are restored once this method returns.","file":"gson/src/main/java/com/google/gson/Gson.java","line":663,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/Gson.java\nLine 745: * are restored once this method returns.","file":"gson/src/main/java/com/google/gson/Gson.java","line":745,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonParser.java\nLine 129: * temporarily changed to {@link Strictness#LENIENT} and will be restored once this method","file":"gson/src/main/java/com/google/gson/JsonParser.java","line":129,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"value of a field or a class is serialized or deserialized.","query":"value field class","file":"gson/src/main/java/com/google/gson/GsonBuilder.java","symbol":"setExclusionStrategies","line":488,"lang":"en","candidates":[{"text":"File: CHANGELOG.md\nLine 311: * Gson 1.7 sets subclass fields when an InstanceCreator returns a subclass when the value is a field of another object. Gson 2.0 sets fields of the requested type only.","file":"CHANGELOG.md","line":311,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/GsonBuilder.java\nLine 482: * value of a field or a class is serialized or deserialized.","file":"gson/src/main/java/com/google/gson/GsonBuilder.java","line":482,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/test/java/com/google/gson/common/TestTypes.java\nLine 284: public ClassWithTransientFields(long value) {","file":"gson/src/test/java/com/google/gson/common/TestTypes.java","line":284,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java\nLine 267: @JsonAdapter(value = PartJsonFieldAnnotationAdapter.class)","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java","line":267,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/NamingPolicyTest.java\nLine 162: ClassWithTwoFields value = new ClassWithTwoFields();","file":"gson/src/test/java/com/google/gson/functional/NamingPolicyTest.java","line":162,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/NamingPolicyTest.java\nLine 350: ClassWithComplexFieldName(long value) {","file":"gson/src/test/java/com/google/gson/functional/NamingPolicyTest.java","line":350,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/ObjectTest.java\nLine 698: String oldValue = ClassWithStaticField.s;","file":"gson/src/test/java/com/google/gson/functional/ObjectTest.java","line":698,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/ObjectTest.java\nLine 704: ClassWithStaticField.s = oldValue;","file":"gson/src/test/java/com/google/gson/functional/ObjectTest.java","line":704,"lexical":0.44999999999999996,"target":false},{"text":"File: proto/src/main/java/com/google/gson/protobuf/ProtoTypeAdapter.java\nLine 348: fieldValue = context.deserialize(jsonElement, field.getClass());","file":"proto/src/main/java/com/google/gson/protobuf/ProtoTypeAdapter.java","line":348,"lexical":0.44999999999999996,"target":false},{"text":"File: proto/src/test/java/com/google/gson/protobuf/functional/LegacyProtoTypeAdapterFactoryTest.java\nLine 259: * ClassCastException}. That's because the oneof value is stored in a field of type {@code","file":"proto/src/test/java/com/google/gson/protobuf/functional/LegacyProtoTypeAdapterFactoryTest.java","line":259,"lexical":0.44999999999999996,"target":false},{"text":"File: test-graal-native-image/src/test/java/com/google/gson/native_test/ReflectionTest.java\nLine 93: // Class is instantiated with JDK Unsafe, therefore field keeps its default value instead of","file":"test-graal-native-image/src/test/java/com/google/gson/native_test/ReflectionTest.java","line":93,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"class or its members are accessed during serialization or deserialization.","query":"class members accessed","file":"gson/src/main/java/com/google/gson/GsonBuilder.java","symbol":"addReflectionAccessFilter","line":909,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/GsonBuilder.java\nLine 903: * class or its members are accessed during serialization or deserialization.","file":"gson/src/main/java/com/google/gson/GsonBuilder.java","line":903,"lexical":0.44999999999999996,"target":true},{"text":"File: test-graal-native-image/README.md\nLine 15: Native Image creation requires configuring which class members are accessed using reflection, see the [GraalVM documentation](https://www.graalvm.org/jdk21/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json).","file":"test-graal-native-image/README.md","line":15,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Adds the specified element to self.","query":"adds specified element","file":"gson/src/main/java/com/google/gson/JsonArray.java","symbol":"add","line":125,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 121: * Adds the specified element to self.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":121,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 133: * Adds all the elements of the specified array to self.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":133,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"@param i the index of the element that is being sought.","query":"param index element","file":"gson/src/main/java/com/google/gson/JsonArray.java","symbol":"get","line":231,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 144: * @param index index of the element to replace","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":144,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 172: * @param index index the index of the element to be removed","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":172,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 226: * @param i the index of the element that is being sought.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":226,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"exceptions declared by that method can occur.","query":"exceptions declared that","file":"gson/src/main/java/com/google/gson/JsonArray.java","symbol":"getAsBigDecimal","line":291,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 285: * exceptions declared by that method can occur.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":285,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 299: * exceptions declared by that method can occur.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":299,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 365: * exceptions declared by that method can occur.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":365,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"exceptions declared by that method can occur.","query":"exceptions declared that","file":"gson/src/main/java/com/google/gson/JsonArray.java","symbol":"getAsBigInteger","line":305,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 285: * exceptions declared by that method can occur.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":285,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 299: * exceptions declared by that method can occur.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":299,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 365: * exceptions declared by that method can occur.","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":365,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Returns whether the other object is equal to this.","query":"returns whether other","file":"gson/src/main/java/com/google/gson/JsonArray.java","symbol":"equals","line":423,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 420: * Returns whether the other object is equal to this. This method only considers the other object","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":420,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 243: * Returns whether the other object is equal to this. This method only considers the other object","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":243,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonPrimitive.java\nLine 303: * Returns whether the other object is equal to this. This method only considers the other object","file":"gson/src/main/java/com/google/gson/JsonPrimitive.java","line":303,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Returns the same instance since it is an immutable value.","query":"returns same instance","file":"gson/src/main/java/com/google/gson/JsonNull.java","symbol":"deepCopy","line":49,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonNull.java\nLine 45: * Returns the same instance since it is an immutable value.","file":"gson/src/main/java/com/google/gson/JsonNull.java","line":45,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/internal/PreJava9DateFormatProvider.java\nLine 27: * Returns the same DateFormat as {@code DateFormat.getDateTimeInstance(dateStyle, timeStyle,","file":"gson/src/main/java/com/google/gson/internal/PreJava9DateFormatProvider.java","line":27,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"@param property name of the member that should be removed.","query":"param property name","file":"gson/src/main/java/com/google/gson/JsonObject.java","symbol":"remove","line":81,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 66: * @param property name of the member.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":66,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 76: * @param property name of the member that should be removed.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":76,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 90: * @param property name of the member.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":90,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 101: * @param property name of the member.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":101,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 112: * @param property name of the member.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":112,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 123: * @param property name of the member.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":123,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"@param memberName name of the member being requested.","query":"param membername name","file":"gson/src/main/java/com/google/gson/JsonObject.java","symbol":"getAsJsonPrimitive","line":198,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 173: * @param memberName name of the member that is being checked for presence.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":173,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 183: * @param memberName name of the member that is being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":183,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 193: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":193,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 205: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":205,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 217: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":217,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"@param memberName name of the member being requested.","query":"param membername name","file":"gson/src/main/java/com/google/gson/JsonObject.java","symbol":"getAsJsonArray","line":210,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 173: * @param memberName name of the member that is being checked for presence.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":173,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 183: * @param memberName name of the member that is being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":183,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 193: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":193,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 205: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":205,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 217: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":217,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"@param memberName name of the member being requested.","query":"param membername name","file":"gson/src/main/java/com/google/gson/JsonObject.java","symbol":"getAsJsonObject","line":222,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 173: * @param memberName name of the member that is being checked for presence.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":173,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 183: * @param memberName name of the member that is being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":183,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 193: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":193,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 205: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":205,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 217: * @param memberName name of the member being requested.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":217,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Returns the same value as primitives are immutable.","query":"returns same value","file":"gson/src/main/java/com/google/gson/JsonPrimitive.java","symbol":"deepCopy","line":93,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonNull.java\nLine 45: * Returns the same instance since it is an immutable value.","file":"gson/src/main/java/com/google/gson/JsonNull.java","line":45,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonPrimitive.java\nLine 89: * Returns the same value as primitives are immutable.","file":"gson/src/main/java/com/google/gson/JsonPrimitive.java","line":89,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java\nLine 213: * Returns this map's entry that has the same key and value as {@code entry}, or null if this map","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","line":213,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Returns whether the other object is equal to this.","query":"returns whether other","file":"gson/src/main/java/com/google/gson/JsonPrimitive.java","symbol":"equals","line":306,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonArray.java\nLine 420: * Returns whether the other object is equal to this. This method only considers the other object","file":"gson/src/main/java/com/google/gson/JsonArray.java","line":420,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 243: * Returns whether the other object is equal to this. This method only considers the other object","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":243,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonPrimitive.java\nLine 303: * Returns whether the other object is equal to this. This method only considers the other object","file":"gson/src/main/java/com/google/gson/JsonPrimitive.java","line":303,"lexical":0.44999999999999996,"target":true}]} | |
| {"site":"project_search","repo":"gson","task":"in an infinite loop since Gson will in-turn call the custom serializer again.","query":"infinite loop since","file":"gson/src/main/java/com/google/gson/JsonSerializationContext.java","symbol":"serialize","line":48,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonDeserializationContext.java\nLine 33: * JsonDeserializationContext)} method. Doing so will result in an infinite loop since Gson will","file":"gson/src/main/java/com/google/gson/JsonDeserializationContext.java","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonDeserializer.java\nLine 86: * passing {@code json} since that will cause an infinite loop (Gson will call your call-back","file":"gson/src/main/java/com/google/gson/JsonDeserializer.java","line":86,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/JsonSerializationContext.java\nLine 42: * in an infinite loop since Gson will in-turn call the custom serializer again.","file":"gson/src/main/java/com/google/gson/JsonSerializationContext.java","line":42,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/JsonSerializer.java\nLine 84: * src} object itself since that will cause an infinite loop (Gson will call your call-back method","file":"gson/src/main/java/com/google/gson/JsonSerializer.java","line":84,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"@param value the Java object to convert.","query":"param value java","file":"gson/src/main/java/com/google/gson/TypeAdapter.java","symbol":"toJsonTree","line":179,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/TypeAdapter.java\nLine 129: * @param value the Java object to write. May be null.","file":"gson/src/main/java/com/google/gson/TypeAdapter.java","line":129,"lexical":0.65,"target":true},{"text":"File: gson/src/main/java/com/google/gson/TypeAdapter.java\nLine 140: * @param value the Java object to convert. May be {@code null}.","file":"gson/src/main/java/com/google/gson/TypeAdapter.java","line":140,"lexical":0.65,"target":false},{"text":"File: gson/src/main/java/com/google/gson/TypeAdapter.java\nLine 157: * @param value the Java object to convert. May be {@code null}.","file":"gson/src/main/java/com/google/gson/TypeAdapter.java","line":157,"lexical":0.65,"target":false},{"text":"File: gson/src/main/java/com/google/gson/TypeAdapter.java\nLine 173: * @param value the Java object to convert. May be {@code null}.","file":"gson/src/main/java/com/google/gson/TypeAdapter.java","line":173,"lexical":0.65,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Returns a function that can construct an instance of a requested type.","query":"returns function that","file":"gson/src/main/java/com/google/gson/internal/ConstructorConstructor.java","symbol":"ConstructorConstructor","line":45,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/internal/ConstructorConstructor.java\nLine 44: /** Returns a function that can construct an instance of a requested type. */","file":"gson/src/main/java/com/google/gson/internal/ConstructorConstructor.java","line":44,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/internal/GsonTypes.java\nLine 101: * Returns a type that is functionally equal but not necessarily equal according to {@link","file":"gson/src/main/java/com/google/gson/internal/GsonTypes.java","line":101,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"If somebody is unlucky enough to have to serialize one of these, serialize it as a BigDecimal so that they won't need Gson on the other side to deserialize it.","query":"somebody unlucky enough","file":"gson/src/main/java/com/google/gson/internal/LazilyParsedNumber.java","symbol":"writeReplace","line":84,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/internal/LazilyParsedNumber.java\nLine 81: * If somebody is unlucky enough to have to serialize one of these, serialize it as a BigDecimal","file":"gson/src/main/java/com/google/gson/internal/LazilyParsedNumber.java","line":81,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java\nLine 664: * If somebody is unlucky enough to have to serialize one of these, serialize it as a","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","line":664,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Rotates the subtree so that its root's right child is the new root.","query":"rotates subtree that","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","symbol":"rotateLeft","line":389,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java\nLine 388: /** Rotates the subtree so that its root's right child is the new root. */","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","line":388,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java\nLine 413: /** Rotates the subtree so that its root's left child is the new root. */","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","line":413,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Rotates the subtree so that its root's left child is the new root.","query":"rotates subtree that","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","symbol":"rotateRight","line":414,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java\nLine 388: /** Rotates the subtree so that its root's right child is the new root. */","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","line":388,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java\nLine 413: /** Rotates the subtree so that its root's left child is the new root. */","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","line":413,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"If somebody is unlucky enough to have to serialize one of these, serialize it as a LinkedHashMap so that they won't need Gson on the other side to deserialize it.","query":"somebody unlucky enough","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","symbol":"writeReplace","line":668,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/internal/LazilyParsedNumber.java\nLine 81: * If somebody is unlucky enough to have to serialize one of these, serialize it as a BigDecimal","file":"gson/src/main/java/com/google/gson/internal/LazilyParsedNumber.java","line":81,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java\nLine 664: * If somebody is unlucky enough to have to serialize one of these, serialize it as a","file":"gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java","line":664,"lexical":0.44999999999999996,"target":true}]} | |
| {"site":"project_search","repo":"gson","task":"Writes the JSON element to the writer, recursively.","query":"writes json element","file":"gson/src/main/java/com/google/gson/internal/Streams.java","symbol":"write","line":69,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/Gson.java\nLine 715: * Writes out the equivalent JSON for a tree of {@link JsonElement}s.","file":"gson/src/main/java/com/google/gson/Gson.java","line":715,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/Gson.java\nLine 732: * Writes the JSON for {@code jsonElement} to {@code writer}.","file":"gson/src/main/java/com/google/gson/Gson.java","line":732,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/internal/Streams.java\nLine 68: /** Writes the JSON element to the writer, recursively. */","file":"gson/src/main/java/com/google/gson/internal/Streams.java","line":68,"lexical":0.44999999999999996,"target":true}]} | |
| {"site":"project_search","repo":"gson","task":"Read this field value from the source, and append its JSON value to the writer","query":"read this field","file":"gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java","symbol":"write","line":468,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java\nLine 467: /** Read this field value from the source, and append its JSON value to the writer */","file":"gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java","line":467,"lexical":0.44999999999999996,"target":true},{"text":"File: proto/src/main/java/com/google/gson/protobuf/LegacyProtoTypeAdapterFactory.java\nLine 128: // We use this to write or read string-valued fields. We don't bother using a TypeAdapter for","file":"proto/src/main/java/com/google/gson/protobuf/LegacyProtoTypeAdapterFactory.java","line":128,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Convert the accumulator to a final instance of T.","query":"convert accumulator final","file":"gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java","symbol":"finalize","line":564,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java\nLine 490: * been read in full, the {@link #finalize(Object)} method is used to convert the accumulator to","file":"gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java","line":490,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java\nLine 563: /** Convert the accumulator to a final instance of T. */","file":"gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java","line":563,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Private helper function that performs some assignability checks for the provided GenericArrayType.","query":"private helper function","file":"gson/src/main/java/com/google/gson/reflect/TypeToken.java","symbol":"isAssignableFrom","line":222,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/reflect/TypeToken.java\nLine 219: * Private helper function that performs some assignability checks for the provided","file":"gson/src/main/java/com/google/gson/reflect/TypeToken.java","line":219,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/main/java/com/google/gson/reflect/TypeToken.java\nLine 243: /** Private recursive helper function to actually do the type-safe checking of assignability. */","file":"gson/src/main/java/com/google/gson/reflect/TypeToken.java","line":243,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Returns true if object members are serialized when their value is null.","query":"returns true object","file":"gson/src/main/java/com/google/gson/stream/JsonWriter.java","symbol":"getSerializeNulls","line":396,"lang":"en","candidates":[{"text":"File: gson/src/main/java/com/google/gson/JsonObject.java\nLine 161: * Returns true if the number of key/value pairs in the object is zero.","file":"gson/src/main/java/com/google/gson/JsonObject.java","line":161,"lexical":0.65,"target":false},{"text":"File: gson/src/main/java/com/google/gson/stream/JsonReader.java\nLine 540: /** Returns true if the current array or object has another element. */","file":"gson/src/main/java/com/google/gson/stream/JsonReader.java","line":540,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/stream/JsonWriter.java\nLine 391: * Returns true if object members are serialized when their value is null. This has no impact on","file":"gson/src/main/java/com/google/gson/stream/JsonWriter.java","line":391,"lexical":0.44999999999999996,"target":true}]} | |
| {"site":"project_search","repo":"gson","task":"Check that Gson doesn't return non-serializable data types.","query":"check that gson","file":"gson/src/test/java/com/google/gson/JavaSerializationTest.java","symbol":"JavaSerializationTest","line":37,"lang":"en","candidates":[{"text":"File: ReleaseProcess.md\nLine 36: … with this, these steps might be outdated or incomplete. Double-check that you are working on a copy of your local Gson Git repository and make sure you have followed all steps. To be safe you can also temporarily turn off your internet connection to avoid…","file":"ReleaseProcess.md","line":36,"lexical":0.44999999999999996,"target":false},{"text":"File: ReleaseProcess.md\nLine 94: 1. Verify that in the Gson project directory where you performed the release, the `target/checkout/target/central-publishing/central-bundle.zip` file contains the desired artifacts\\","file":"ReleaseProcess.md","line":94,"lexical":0.44999999999999996,"target":false},{"text":"File: Troubleshooting.md\nLine 269: …rst disable any code shrinking tools such as ProGuard or R8 and check if the issue persists. If not, you have to tweak the configuration of that tool to not modify Gson classes. Otherwise verify that the Gson JAR on your classpath is the same you are compi…","file":"Troubleshooting.md","line":269,"lexical":0.44999999999999996,"target":false},{"text":"File: Troubleshooting.md\nLine 298: **Solution:** First check if you really need to serialize or deserialize a `Class`. Often it is possible to use string aliases and then map them to the known `Class`; you could write a custom [`TypeAdapter`](https://javadoc.io/doc/com.google.code.gson/gson…","file":"Troubleshooting.md","line":298,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/ReflectionAccessFilter.java\nLine 55: * <p>Note that this does not affect the Java access checks in any way, it only permits Gson to","file":"gson/src/main/java/com/google/gson/ReflectionAccessFilter.java","line":55,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/GsonTest.java\nLine 372: // Override equals to verify that reference equality check is performed by Gson,","file":"gson/src/test/java/com/google/gson/GsonTest.java","line":372,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/JavaSerializationTest.java\nLine 33: * Check that Gson doesn't return non-serializable data types.","file":"gson/src/test/java/com/google/gson/JavaSerializationTest.java","line":33,"lexical":0.55,"target":true},{"text":"File: test-jpms/src/test/java/com/google/gson/jpms_test/ModuleTest.java\nLine 32: * Verifies that this test project is properly set up and has a module descriptor, and checks Gson's","file":"test-jpms/src/test/java/com/google/gson/jpms_test/ModuleTest.java","line":32,"lexical":0.55,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Special method recognized by JUnit's `AllTests` runner","query":"special method recognized","file":"gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java","symbol":"suite","line":57,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java\nLine 56: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java","line":56,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java\nLine 72: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java","line":72,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java\nLine 63: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java","line":63,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Special method recognized by JUnit's `AllTests` runner","query":"special method recognized","file":"gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java","symbol":"suite","line":73,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java\nLine 56: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java","line":56,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java\nLine 72: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java","line":72,"lexical":0.44999999999999996,"target":true},{"text":"File: gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java\nLine 63: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java","line":63,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Functional tests for Json serialization and deserialization of arrays.","query":"functional tests json","file":"gson/src/test/java/com/google/gson/functional/ArrayTest.java","symbol":"ArrayTest","line":41,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/ArrayTest.java\nLine 36: * Functional tests for Json serialization and deserialization of arrays.","file":"gson/src/test/java/com/google/gson/functional/ArrayTest.java","line":36,"lexical":0.55,"target":true},{"text":"File: gson/src/test/java/com/google/gson/functional/CollectionTest.java\nLine 52: * Functional tests for Json serialization and deserialization of collections.","file":"gson/src/test/java/com/google/gson/functional/CollectionTest.java","line":52,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/InheritanceTest.java\nLine 44: * Functional tests for Json serialization and deserialization of classes with inheritance","file":"gson/src/test/java/com/google/gson/functional/InheritanceTest.java","line":44,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on classes. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on fields. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java\nLine 40: * Functional tests for the {@link JsonAdapter} annotation on fields where the value is of type","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java","line":40,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonParserTest.java\nLine 42: * Functional tests for that use JsonParser and related Gson methods","file":"gson/src/test/java/com/google/gson/functional/JsonParserTest.java","line":42,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonTreeTest.java\nLine 33: * Functional tests for {@link Gson#toJsonTree(Object)} and {@link Gson#toJsonTree(Object,","file":"gson/src/test/java/com/google/gson/functional/JsonTreeTest.java","line":33,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/ObjectTest.java\nLine 60: * Functional tests for Json serialization and deserialization of regular classes.","file":"gson/src/test/java/com/google/gson/functional/ObjectTest.java","line":60,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/PrimitiveTest.java\nLine 39: * Functional tests for Json primitive values: integers, and floating point numbers.","file":"gson/src/test/java/com/google/gson/functional/PrimitiveTest.java","line":39,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/StringTest.java\nLine 26: * Functional tests for Json serialization and deserialization of strings.","file":"gson/src/test/java/com/google/gson/functional/StringTest.java","line":26,"lexical":0.55,"target":false},{"text":"File: proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java\nLine 30: * Functional tests for protocol buffers using annotations and custom json_name values for field","file":"proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java","line":30,"lexical":0.65,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Functional tests for Json serialization and deserialization of collections.","query":"functional tests json","file":"gson/src/test/java/com/google/gson/functional/CollectionTest.java","symbol":"CollectionTest","line":57,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/ArrayTest.java\nLine 36: * Functional tests for Json serialization and deserialization of arrays.","file":"gson/src/test/java/com/google/gson/functional/ArrayTest.java","line":36,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/CollectionTest.java\nLine 52: * Functional tests for Json serialization and deserialization of collections.","file":"gson/src/test/java/com/google/gson/functional/CollectionTest.java","line":52,"lexical":0.55,"target":true},{"text":"File: gson/src/test/java/com/google/gson/functional/InheritanceTest.java\nLine 44: * Functional tests for Json serialization and deserialization of classes with inheritance","file":"gson/src/test/java/com/google/gson/functional/InheritanceTest.java","line":44,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on classes. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on fields. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java\nLine 40: * Functional tests for the {@link JsonAdapter} annotation on fields where the value is of type","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java","line":40,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonParserTest.java\nLine 42: * Functional tests for that use JsonParser and related Gson methods","file":"gson/src/test/java/com/google/gson/functional/JsonParserTest.java","line":42,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonTreeTest.java\nLine 33: * Functional tests for {@link Gson#toJsonTree(Object)} and {@link Gson#toJsonTree(Object,","file":"gson/src/test/java/com/google/gson/functional/JsonTreeTest.java","line":33,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/ObjectTest.java\nLine 60: * Functional tests for Json serialization and deserialization of regular classes.","file":"gson/src/test/java/com/google/gson/functional/ObjectTest.java","line":60,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/PrimitiveTest.java\nLine 39: * Functional tests for Json primitive values: integers, and floating point numbers.","file":"gson/src/test/java/com/google/gson/functional/PrimitiveTest.java","line":39,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/StringTest.java\nLine 26: * Functional tests for Json serialization and deserialization of strings.","file":"gson/src/test/java/com/google/gson/functional/StringTest.java","line":26,"lexical":0.55,"target":false},{"text":"File: proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java\nLine 30: * Functional tests for protocol buffers using annotations and custom json_name values for field","file":"proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java","line":30,"lexical":0.65,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Functional tests for Java 5.0 enums.","query":"functional tests java","file":"gson/src/test/java/com/google/gson/functional/EnumTest.java","symbol":"EnumTest","line":50,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/EnumTest.java\nLine 45: * Functional tests for Java 5.0 enums.","file":"gson/src/test/java/com/google/gson/functional/EnumTest.java","line":45,"lexical":0.65,"target":true},{"text":"File: gson/src/test/java/com/google/gson/functional/PrimitiveCharacterTest.java\nLine 28: * Functional tests for Java Character values.","file":"gson/src/test/java/com/google/gson/functional/PrimitiveCharacterTest.java","line":28,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/internal/JavaVersionTest.java\nLine 23: * Unit and functional tests for {@link JavaVersion}","file":"gson/src/test/java/com/google/gson/internal/JavaVersionTest.java","line":23,"lexical":0.65,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Performs some functional testing to ensure GSON infrastructure properly serializes/deserializes fields that either should or should not be included in the output based on the GSON configuration.","query":"performs some functional","file":"gson/src/test/java/com/google/gson/functional/FieldExclusionTest.java","symbol":"FieldExclusionTest","line":33,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/EscapingTest.java\nLine 30: * Performs some functional test involving JSON output escaping.","file":"gson/src/test/java/com/google/gson/functional/EscapingTest.java","line":30,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/ExclusionStrategyFunctionalTest.java\nLine 35: * Performs some functional tests when Gson is instantiated with some common user defined {@link","file":"gson/src/test/java/com/google/gson/functional/ExclusionStrategyFunctionalTest.java","line":35,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/FieldExclusionTest.java\nLine 27: * Performs some functional testing to ensure GSON infrastructure properly serializes/deserializes","file":"gson/src/test/java/com/google/gson/functional/FieldExclusionTest.java","line":27,"lexical":0.55,"target":true}]} | |
| {"site":"project_search","repo":"gson","task":"This class is used in JsonAdapter Javadoc as an example","query":"this class used","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java","symbol":"User","line":290,"lang":"en","candidates":[{"text":"File: CHANGELOG.md\nLine 173: …Array`, `AtomicInteger`, `AtomicIntegerArray`, `AtomicBoolean`. This change is backward-incompatible because the earlier version of Gson used the default serialization which wasn't intuitive. We hope that these classes are not used enough to actually cause…","file":"CHANGELOG.md","line":173,"lexical":0.44999999999999996,"target":false},{"text":"File: GsonDesignDocument.md\nLine 19: …tations on fields or methods to indicate which fields should be used for Json serialization. That approach essentially precludes the use of classes from JDK or third-party libraries. We solved this problem by defining the notion of custom serializers and d…","file":"GsonDesignDocument.md","line":19,"lexical":0.44999999999999996,"target":false},{"text":"File: GsonDesignDocument.md\nLine 27: Gson needs to create a dummy class instance before it can deserialize Json data into its fields. We could have used Guice to get such an instance, but that would have resulted in a dependency on Guice. Moreover, it probably would have done the wrong thing …","file":"GsonDesignDocument.md","line":27,"lexical":0.44999999999999996,"target":false},{"text":"File: Troubleshooting.md\nLine 361: Note: If the class which you are trying to deserialize is actually abstract, then this exception is probably unrelated to R8 and you will have to implement a custom [`InstanceCreator`](https://javadoc.io/doc/com.google.code.gson/gson/latest/com.google.gson…","file":"Troubleshooting.md","line":361,"lexical":0.44999999999999996,"target":false},{"text":"File: Troubleshooting.md\nLine 415: It is possible to avoid reflection when using Gson. This will mean you will need to have a `TypeAdapter` or `TypeAdapterFactory` for every type you might want to serialize or deserialize, or that you are only using Gson through its explicit JSON API via cl…","file":"Troubleshooting.md","line":415,"lexical":0.44999999999999996,"target":false},{"text":"File: UserGuide.md\nLine 576: …c/main/java/com/google/gson/annotations/Since.java) annotation. This annotation can be used on Classes, Fields and, in a future release, Methods. In order to leverage this feature, you must configure your `Gson` instance to ignore any field/object that is …","file":"UserGuide.md","line":576,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/Gson.java\nLine 50: * This is the main class for using Gson. Gson is typically used by first constructing a {@code","file":"gson/src/main/java/com/google/gson/Gson.java","line":50,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/stream/JsonReader.java\nLine 205: * <p>Each {@code JsonReader} may be used to read a single JSON stream. Instances of this class are","file":"gson/src/main/java/com/google/gson/stream/JsonReader.java","line":205,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/main/java/com/google/gson/stream/JsonWriter.java\nLine 155: * <p>Each {@code JsonWriter} may be used to write a single JSON stream. Instances of this class are","file":"gson/src/main/java/com/google/gson/stream/JsonWriter.java","line":155,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java\nLine 289: // This class is used in JsonAdapter Javadoc as an example","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java","line":289,"lexical":0.65,"target":true},{"text":"File: test-jpms/README.md\nLine 3: This Maven module contains tests to verify that Gson's `module-info.class` which is used by the Java Platform Module System (JPMS) works properly and can be used by other projects. The module declaration file `src/test/java/module-info.java` uses Gson's mo…","file":"test-jpms/README.md","line":3,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Functional tests for that use JsonParser and related Gson methods @author Inderjeet Singh @author Joel Leitch","query":"functional tests that","file":"gson/src/test/java/com/google/gson/functional/JsonParserTest.java","symbol":"JsonParserTest","line":47,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/JsonParserTest.java\nLine 42: * Functional tests for that use JsonParser and related Gson methods","file":"gson/src/test/java/com/google/gson/functional/JsonParserTest.java","line":42,"lexical":0.55,"target":true},{"text":"File: gson/src/test/java/com/google/gson/functional/UncategorizedTest.java\nLine 36: * Functional tests that do not fall neatly into any of the existing classification.","file":"gson/src/test/java/com/google/gson/functional/UncategorizedTest.java","line":36,"lexical":0.55,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Functional tests for Json serialization and deserialization of regular classes.","query":"functional tests json","file":"gson/src/test/java/com/google/gson/functional/ObjectTest.java","symbol":"ObjectTest","line":65,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/ArrayTest.java\nLine 36: * Functional tests for Json serialization and deserialization of arrays.","file":"gson/src/test/java/com/google/gson/functional/ArrayTest.java","line":36,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/CollectionTest.java\nLine 52: * Functional tests for Json serialization and deserialization of collections.","file":"gson/src/test/java/com/google/gson/functional/CollectionTest.java","line":52,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/InheritanceTest.java\nLine 44: * Functional tests for Json serialization and deserialization of classes with inheritance","file":"gson/src/test/java/com/google/gson/functional/InheritanceTest.java","line":44,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on classes. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on fields. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java\nLine 40: * Functional tests for the {@link JsonAdapter} annotation on fields where the value is of type","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java","line":40,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonParserTest.java\nLine 42: * Functional tests for that use JsonParser and related Gson methods","file":"gson/src/test/java/com/google/gson/functional/JsonParserTest.java","line":42,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonTreeTest.java\nLine 33: * Functional tests for {@link Gson#toJsonTree(Object)} and {@link Gson#toJsonTree(Object,","file":"gson/src/test/java/com/google/gson/functional/JsonTreeTest.java","line":33,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/ObjectTest.java\nLine 60: * Functional tests for Json serialization and deserialization of regular classes.","file":"gson/src/test/java/com/google/gson/functional/ObjectTest.java","line":60,"lexical":0.55,"target":true},{"text":"File: gson/src/test/java/com/google/gson/functional/PrimitiveTest.java\nLine 39: * Functional tests for Json primitive values: integers, and floating point numbers.","file":"gson/src/test/java/com/google/gson/functional/PrimitiveTest.java","line":39,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/StringTest.java\nLine 26: * Functional tests for Json serialization and deserialization of strings.","file":"gson/src/test/java/com/google/gson/functional/StringTest.java","line":26,"lexical":0.55,"target":false},{"text":"File: proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java\nLine 30: * Functional tests for protocol buffers using annotations and custom json_name values for field","file":"proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java","line":30,"lexical":0.65,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Functional tests for Json serialization and deserialization of strings.","query":"functional tests json","file":"gson/src/test/java/com/google/gson/functional/StringTest.java","symbol":"StringTest","line":31,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/ArrayTest.java\nLine 36: * Functional tests for Json serialization and deserialization of arrays.","file":"gson/src/test/java/com/google/gson/functional/ArrayTest.java","line":36,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/CollectionTest.java\nLine 52: * Functional tests for Json serialization and deserialization of collections.","file":"gson/src/test/java/com/google/gson/functional/CollectionTest.java","line":52,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/InheritanceTest.java\nLine 44: * Functional tests for Json serialization and deserialization of classes with inheritance","file":"gson/src/test/java/com/google/gson/functional/InheritanceTest.java","line":44,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on classes. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java\nLine 45: /** Functional tests for the {@link JsonAdapter} annotation on fields. */","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnFieldsTest.java","line":45,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java\nLine 40: * Functional tests for the {@link JsonAdapter} annotation on fields where the value is of type","file":"gson/src/test/java/com/google/gson/functional/JsonAdapterSerializerDeserializerTest.java","line":40,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonParserTest.java\nLine 42: * Functional tests for that use JsonParser and related Gson methods","file":"gson/src/test/java/com/google/gson/functional/JsonParserTest.java","line":42,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/JsonTreeTest.java\nLine 33: * Functional tests for {@link Gson#toJsonTree(Object)} and {@link Gson#toJsonTree(Object,","file":"gson/src/test/java/com/google/gson/functional/JsonTreeTest.java","line":33,"lexical":0.65,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/ObjectTest.java\nLine 60: * Functional tests for Json serialization and deserialization of regular classes.","file":"gson/src/test/java/com/google/gson/functional/ObjectTest.java","line":60,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/PrimitiveTest.java\nLine 39: * Functional tests for Json primitive values: integers, and floating point numbers.","file":"gson/src/test/java/com/google/gson/functional/PrimitiveTest.java","line":39,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/StringTest.java\nLine 26: * Functional tests for Json serialization and deserialization of strings.","file":"gson/src/test/java/com/google/gson/functional/StringTest.java","line":26,"lexical":0.55,"target":true},{"text":"File: proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java\nLine 30: * Functional tests for protocol buffers using annotations and custom json_name values for field","file":"proto/src/test/java/com/google/gson/protobuf/functional/ProtosWithAnnotationsAndJsonNamesTest.java","line":30,"lexical":0.65,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Functional tests that do not fall neatly into any of the existing classification.","query":"functional tests that","file":"gson/src/test/java/com/google/gson/functional/UncategorizedTest.java","symbol":"UncategorizedTest","line":41,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/functional/JsonParserTest.java\nLine 42: * Functional tests for that use JsonParser and related Gson methods","file":"gson/src/test/java/com/google/gson/functional/JsonParserTest.java","line":42,"lexical":0.55,"target":false},{"text":"File: gson/src/test/java/com/google/gson/functional/UncategorizedTest.java\nLine 36: * Functional tests that do not fall neatly into any of the existing classification.","file":"gson/src/test/java/com/google/gson/functional/UncategorizedTest.java","line":36,"lexical":0.55,"target":true}]} | |
| {"site":"project_search","repo":"gson","task":"Special method recognized by JUnit's `AllTests` runner","query":"special method recognized","file":"gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java","symbol":"suite","line":64,"lang":"en","candidates":[{"text":"File: gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java\nLine 56: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java","line":56,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java\nLine 72: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java","line":72,"lexical":0.44999999999999996,"target":false},{"text":"File: gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java\nLine 63: // Special method recognized by JUnit's `AllTests` runner","file":"gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java","line":63,"lexical":0.44999999999999996,"target":true}]} | |
| {"site":"project_search","repo":"gson","task":"Caliper based micro benchmarks for Gson @author Inderjeet Singh @author Jesse Wilson @author Joel Leitch","query":"caliper based micro","file":"metrics/src/main/java/com/google/gson/metrics/BagOfPrimitivesDeserializationBenchmark.java","symbol":"BagOfPrimitivesDeserializationBenchmark","line":32,"lang":"en","candidates":[{"text":"File: metrics/src/main/java/com/google/gson/metrics/BagOfPrimitivesDeserializationBenchmark.java\nLine 26: * Caliper based micro benchmarks for Gson","file":"metrics/src/main/java/com/google/gson/metrics/BagOfPrimitivesDeserializationBenchmark.java","line":26,"lexical":0.44999999999999996,"target":true},{"text":"File: metrics/src/main/java/com/google/gson/metrics/CollectionsDeserializationBenchmark.java\nLine 30: * Caliper based micro benchmarks for Gson","file":"metrics/src/main/java/com/google/gson/metrics/CollectionsDeserializationBenchmark.java","line":30,"lexical":0.44999999999999996,"target":false},{"text":"File: metrics/src/main/java/com/google/gson/metrics/SerializationBenchmark.java\nLine 24: * Caliper based micro benchmarks for Gson serialization","file":"metrics/src/main/java/com/google/gson/metrics/SerializationBenchmark.java","line":24,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"Caliper based micro benchmarks for Gson @author Inderjeet Singh","query":"caliper based micro","file":"metrics/src/main/java/com/google/gson/metrics/CollectionsDeserializationBenchmark.java","symbol":"CollectionsDeserializationBenchmark","line":34,"lang":"en","candidates":[{"text":"File: metrics/src/main/java/com/google/gson/metrics/BagOfPrimitivesDeserializationBenchmark.java\nLine 26: * Caliper based micro benchmarks for Gson","file":"metrics/src/main/java/com/google/gson/metrics/BagOfPrimitivesDeserializationBenchmark.java","line":26,"lexical":0.44999999999999996,"target":false},{"text":"File: metrics/src/main/java/com/google/gson/metrics/CollectionsDeserializationBenchmark.java\nLine 30: * Caliper based micro benchmarks for Gson","file":"metrics/src/main/java/com/google/gson/metrics/CollectionsDeserializationBenchmark.java","line":30,"lexical":0.44999999999999996,"target":true},{"text":"File: metrics/src/main/java/com/google/gson/metrics/SerializationBenchmark.java\nLine 24: * Caliper based micro benchmarks for Gson serialization","file":"metrics/src/main/java/com/google/gson/metrics/SerializationBenchmark.java","line":24,"lexical":0.44999999999999996,"target":false}]} | |
| {"site":"project_search","repo":"gson","task":"class which is only referenced in `TypeToken`, but nowhere else","query":"class which only","file":"test-shrinker/src/main/java/com/example/InterfaceWithImplementation.java","symbol":"Implementation","line":10,"lang":"en","candidates":[{"text":"File: Troubleshooting.md\nLine 386: …exception is thrown when you create an anonymous `TypeToken` subclass which captures a type variable, for example `new TypeToken<List<T>>() {}` (where `T` is a type variable). At compile time such code looks safe and you can use the type `List<T>` without …","file":"Troubleshooting.md","line":386,"lexical":0.44999999999999996,"target":false},{"text":"File: Troubleshooting.md\nLine 415: …ype you might want to serialize or deserialize, or that you are only using Gson through its explicit JSON API via classes like `JsonObject` and `JsonArray`, or are manually reading or writing JSON data using `JsonReader` and `JsonWriter`. You can ensure re…","file":"Troubleshooting.md","line":415,"lexical":0.44999999999999996,"target":false},{"text":"File: test-shrinker/src/main/java/com/example/InterfaceWithImplementation.java\nLine 9: // Implementation class which is only referenced in `TypeToken`, but nowhere else","file":"test-shrinker/src/main/java/com/example/InterfaceWithImplementation.java","line":9,"lexical":0.44999999999999996,"target":true}]} | |