Uses of Class
org.jdrupes.json.JsonBeanEncoder
-
-
Uses of JsonBeanEncoder in org.jdrupes.json
Methods in org.jdrupes.json that return JsonBeanEncoder Modifier and Type Method Description JsonBeanEncoderJsonBeanEncoder. addAlias(Class<?> clazz, String alias)JsonBeanEncoderJsonBeanEncoder. addExcluded(String className)Add a type to excude from encoding, usually because it cannot be converted to JSON.static JsonBeanEncoderJsonBeanEncoder. create()Create a new encoder using a defaultJsonGeneratorthat writes to an internally createdStringWriter.static JsonBeanEncoderJsonBeanEncoder. create(com.fasterxml.jackson.core.JsonGenerator generator)Create a new encoder using the givenJsonGenerator.static JsonBeanEncoderJsonBeanEncoder. create(Writer out)Create a new encoder using a defaultJsonGenerator.JsonBeanEncoderJsonBeanEncoder. omitClass()Configure the encoder to not generate theclassinformation even when needed to properly restore the Object graph.JsonBeanEncoderJsonBeanEncoder. writeArray(Object... items)JsonBeanEncoderJsonBeanEncoder. writeObject(Object obj)
-