Uses of Enum
com.alibaba.fastjson2.JSONWriter.Feature
Packages that use JSONWriter.Feature
-
Uses of JSONWriter.Feature in com.alibaba.fastjson2
Methods in com.alibaba.fastjson2 that return JSONWriter.FeatureModifier and TypeMethodDescriptionstatic JSONWriter.FeatureReturns the enum constant of this type with the specified name.static JSONWriter.Feature[]JSONWriter.Feature.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.alibaba.fastjson2 with parameters of type JSONWriter.FeatureModifier and TypeMethodDescriptionstatic voidJSON.config(JSONWriter.Feature... features) Enable the specified features in default writerstatic voidJSON.config(JSONWriter.Feature feature, boolean state) Enable or disable the specified features in default writervoidJSONWriter.config(JSONWriter.Feature... features) voidJSONWriter.config(JSONWriter.Feature feature, boolean state) voidJSONWriter.Context.config(JSONWriter.Feature... features) voidJSONWriter.Context.config(JSONWriter.Feature feature, boolean state) static <T> TJSON.copy(T object, JSONWriter.Feature... features) use ObjectWriter and ObjectReader copy java objectstatic <T> TJSON.copyTo(Object object, Class<T> targetClass, JSONWriter.Feature... features) use ObjectWriter and ObjectReader copy java objectstatic JSONWriter.ContextJSONFactory.createWriteContext(JSONWriter.Feature... features) static JSONWriter.ContextJSONFactory.createWriteContext(ObjectWriterProvider provider, JSONWriter.Feature... features) static booleanJSON.isEnabled(JSONWriter.Feature feature) Check if the default writer enables the specified featurebooleanJSONWriter.Context.isEnabled(JSONWriter.Feature feature) booleanJSONWriter.isEnabled(JSONWriter.Feature feature) static JSONWriterJSONWriter.of(JSONWriter.Feature... features) static JSONWriterJSONWriter.of(ObjectWriterProvider provider, JSONWriter.Feature... features) static JSONWriterJSONWriter.ofJSONB(JSONWriter.Feature... features) static JSONWriterJSONWriter.ofUTF16(JSONWriter.Feature... features) static JSONWriterJSONWriter.ofUTF8(JSONWriter.Feature... features) static byte[]JSONB.toBytes(Object object, JSONWriter.Feature... features) static byte[]JSONB.toBytes(Object object, SymbolTable symbolTable, Filter[] filters, JSONWriter.Feature... features) static byte[]JSONB.toBytes(Object object, SymbolTable symbolTable, JSONWriter.Feature... features) static ObjectJSON.toJSON(Object object, JSONWriter.Feature... features) Convert Java object order toJSONArrayorJSONObjectbyte[]JSONArray.toJSONBBytes(JSONWriter.Feature... features) Serialize to JSONB bytesbyte[]JSONObject.toJSONBBytes(JSONWriter.Feature... features) Serialize to JSONB bytesstatic byte[]JSON.toJSONBytes(Object object, Filter[] filters, JSONWriter.Feature... features) Serialize Java Object to JSON byte array with specifiedJSONReader.Features enabledstatic byte[]JSON.toJSONBytes(Object object, JSONWriter.Feature... features) Serialize Java Object to JSON byte array with specifiedJSONReader.Features enabledstatic byte[]JSON.toJSONBytes(Object object, String format, Filter[] filters, JSONWriter.Feature... features) Serialize Java Object to JSON byte array with specifiedJSONReader.Features enabledstatic StringJSON.toJSONString(Object object, Filter[] filters, JSONWriter.Feature... features) Serialize Java Object to JSONStringwith specifiedJSONReader.Features enabledstatic StringJSON.toJSONString(Object object, Filter filter, JSONWriter.Feature... features) Serialize Java Object to JSONStringwith specifiedJSONReader.Features enabledstatic StringJSON.toJSONString(Object object, JSONWriter.Feature... features) Serialize Java Object to JSONStringwith specifiedJSONReader.Features enabledstatic StringJSON.toJSONString(Object object, String format, Filter[] filters, JSONWriter.Feature... features) Serialize Java Object to JSONStringwith specifiedJSONReader.Features enabledstatic StringJSON.toJSONString(Object object, String format, JSONWriter.Feature... features) Serialize Java Object to JSONStringwith specifiedJSONReader.Features enabledJSONArray.toJSONString(JSONWriter.Feature... features) Serialize to JSONStringstatic StringJSONArray.toJSONString(Object object, JSONWriter.Feature... features) Serialize Java Object to JSONStringwith specifiedJSONReader.Features enabledJSONObject.toJSONString(JSONWriter.Feature... features) Serialize to JSONStringstatic StringJSONObject.toJSONString(Object object, JSONWriter.Feature... features) Serialize Java Object to JSONStringwith specifiedJSONReader.Features enabledJSONArray.toString(JSONWriter.Feature... features) Serialize to JSONStringJSONObject.toString(JSONWriter.Feature... features) Serialize to JSONStringstatic intJSON.writeTo(OutputStream out, Object object, Filter[] filters, JSONWriter.Feature... features) Serialize Java Object to JSON and write toOutputStreamwith specifiedJSONReader.Features enabledstatic intJSON.writeTo(OutputStream out, Object object, JSONWriter.Feature... features) Serialize Java Object to JSON and write toOutputStreamwith specifiedJSONReader.Features enabledstatic intJSON.writeTo(OutputStream out, Object object, String format, Filter[] filters, JSONWriter.Feature... features) Serialize Java Object to JSON and write toOutputStreamwith specifiedJSONReader.Features enabledstatic intJSONB.writeTo(OutputStream out, Object object, JSONWriter.Feature... features) Constructors in com.alibaba.fastjson2 with parameters of type JSONWriter.FeatureModifierConstructorDescriptionContext(ObjectWriterProvider provider, JSONWriter.Feature... features)