Uses of Enum
com.google.gson.Strictness
Packages that use Strictness
Package
Description
This package provides the
Gson
class to convert Json to Java and
vice-versa.This package provides classes for processing JSON in an efficient streaming way.
-
Uses of Strictness in com.google.gson
Fields in com.google.gson declared as StrictnessModifier and TypeFieldDescription(package private) static final Strictness
Gson.DEFAULT_STRICTNESS
(package private) final Strictness
Gson.strictness
private Strictness
GsonBuilder.strictness
Methods in com.google.gson that return StrictnessModifier and TypeMethodDescriptionstatic Strictness
Returns the enum constant of this type with the specified name.static Strictness[]
Strictness.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.gson with parameters of type StrictnessModifier and TypeMethodDescriptionGsonBuilder.setStrictness
(Strictness strictness) Sets the strictness of this builder to the provided parameter.Constructors in com.google.gson with parameters of type StrictnessModifierConstructorDescription(package private)
Gson
(Excluder excluder, FieldNamingStrategy fieldNamingStrategy, Map<Type, InstanceCreator<?>> instanceCreators, boolean serializeNulls, boolean complexMapKeySerialization, boolean generateNonExecutableGson, boolean htmlSafe, FormattingStyle formattingStyle, Strictness strictness, boolean serializeSpecialFloatingPointValues, boolean useJdkUnsafe, LongSerializationPolicy longSerializationPolicy, String datePattern, int dateStyle, int timeStyle, List<TypeAdapterFactory> builderFactories, List<TypeAdapterFactory> builderHierarchyFactories, List<TypeAdapterFactory> factoriesToBeAdded, ToNumberStrategy objectToNumberStrategy, ToNumberStrategy numberToNumberStrategy, List<ReflectionAccessFilter> reflectionFilters) -
Uses of Strictness in com.google.gson.stream
Fields in com.google.gson.stream declared as StrictnessModifier and TypeFieldDescriptionprivate Strictness
JsonReader.strictness
private Strictness
JsonWriter.strictness
Methods in com.google.gson.stream that return StrictnessModifier and TypeMethodDescriptionfinal Strictness
JsonReader.getStrictness()
Returns the strictness of this reader.final Strictness
JsonWriter.getStrictness()
Returns the strictness of this writer.Methods in com.google.gson.stream with parameters of type StrictnessModifier and TypeMethodDescriptionfinal void
JsonReader.setStrictness
(Strictness strictness) Configures how liberal this parser is in what it accepts.final void
JsonWriter.setStrictness
(Strictness strictness) Configures how strict this writer is with regard to the syntax rules specified in RFC 8259.