Uses of Class
com.dslplatform.json.CompiledJson.Format
-
Packages that use CompiledJson.Format Package Description com.dslplatform.json com.dslplatform.json.processor -
-
Uses of CompiledJson.Format in com.dslplatform.json
Methods in com.dslplatform.json that return CompiledJson.Format Modifier and Type Method Description CompiledJson.Format[]formats()JSON can be encoded/decoded in several ways:
- object - standard attribute: value pair, eg: {"prop":123,"attr":"abc"}
- array - no attributes, just values in array, eg: [123,"abc"]static CompiledJson.FormatCompiledJson.Format. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CompiledJson.Format[]CompiledJson.Format. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of CompiledJson.Format in com.dslplatform.json.processor
Fields in com.dslplatform.json.processor with type parameters of type CompiledJson.Format Modifier and Type Field Description java.util.EnumSet<CompiledJson.Format>StructInfo. formatsMethods in com.dslplatform.json.processor that return CompiledJson.Format Modifier and Type Method Description private CompiledJson.Format[]Analysis. getFormats(javax.lang.model.element.AnnotationMirror ann)Constructors in com.dslplatform.json.processor with parameters of type CompiledJson.Format Constructor Description StructInfo(javax.lang.model.element.TypeElement element, javax.lang.model.type.DeclaredType discoveredBy, java.lang.String name, java.lang.String binaryName, ObjectType type, java.lang.String jsonObjectReaderPath, java.util.List<javax.lang.model.element.ExecutableElement> matchingConstructors, javax.lang.model.element.ExecutableElement annotatedConstructor, javax.lang.model.element.ExecutableElement annotatedFactory, BuilderInfo builder, javax.lang.model.element.AnnotationMirror annotation, CompiledJson.Behavior onUnknown, CompiledJson.TypeSignature typeSignature, CompiledJson.ObjectFormatPolicy objectFormatPolicy, javax.lang.model.element.TypeElement deserializeAs, java.lang.String discriminator, java.lang.String deserializeName, javax.lang.model.element.Element enumConstantNameSource, NamingStrategy namingStrategy, CompiledJson.Format[] formats, java.util.Map<java.lang.String,javax.lang.model.type.TypeMirror> genericSignatures)
-