-
Deprecated InterfacesInterfaceDescriptionUse top-level
JsonClassReaderinstead. This nested interface is kept for backward compatibility.Use top-levelMissingFieldHandlerinstead. This nested interface is kept for backward compatibility.Use top-levelJsonClassWriterinstead. This nested interface is kept for backward compatibility.
-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionUse Converter.convert() instead. This method is retained for backward compatibility with any subclasses that may override it.Use
JsonIo.toJava(JsonObject, ReadOptions)with.asClass(Class)instead. This method will be removed in version 5.0.0.Example:
Person p = JsonIo.toJava(jsonObj, opts).asClass(Person.class);UseJsonIo.toJava(InputStream, ReadOptions)with.asClass(Class)instead. This method will be removed in version 5.0.0.Example:
Person p = JsonIo.toJava(stream, opts).asClass(Person.class);UseJsonIo.toJava(String, ReadOptions)with.asClass(Class)instead. This method will be removed in version 5.0.0.Example:
Person p = JsonIo.toJava(json, opts).asClass(Person.class);This method will be removed in a future version. Use getRawType() instead.This method will be removed in a future version. Use setType() instead.This method is deprecated and will be removed in a future version. UseClassUtilities.findClosest(Class, Map, Object)directly instead.This method is deprecated and will be removed in a future version. UseClassUtilities.getClassIfEnum(Class)directly instead.This method is deprecated and will be removed in a future version. UseClassUtilities.isPrimitive(Class)directly instead.This method is deprecated and will be removed in a future version. UseStringUtilities.length(String)to safely determine the length of a string without risking aNullPointerException.This method is deprecated and will be removed in a future version. UseClassUtilities.loadResourceAsBytes(String)directly instead.This method is deprecated and will be removed in a future version. UseClassUtilities.loadResourceAsString(String)directly instead.This method is deprecated and will be removed in a future version. Use ClassUtilities.newInstance(Converter, Class, Collection) going forward.This method is deprecated and will be removed in a future version. This method has been moved toStringUtilities.removeLeadingAndTrailingQuotes(String).This method is deprecated and will be removed in a future version. Use ExceptionUtilities.safelyIgnoreException(Runnable)This method is deprecated and will be removed in a future version. Use ExceptionUtilities.safelyIgnoreException(Callable, T)This method is deprecated and will be removed in a future version. Use ClassUtilities.setUseUnsafe(boolean) going forward.This method is deprecated and will be removed in a future version. UseStringUtilities.trimLength(String)directly instead.This method is deprecated and will be removed in a future version. UseExceptionUtilities.safelyIgnoreException(Runnable)directly instead.useReadOptionsBuilder.returnAsJsonObjects()instead.
ClassFactoryinstead. This nested interface is kept for backward compatibility.