Uses of Class
com.alibaba.fastjson2.SymbolTable
Packages that use SymbolTable
-
Uses of SymbolTable in com.alibaba.fastjson2
Fields in com.alibaba.fastjson2 declared as SymbolTableMethods in com.alibaba.fastjson2 that return SymbolTableModifier and TypeMethodDescriptionfinal SymbolTableJSONWriter.getSymbolTable()Gets the symbol table used by this JSONWriter.static SymbolTableJSONB.symbolTable(String... names) Creates a symbol table with the specified namesMethods in com.alibaba.fastjson2 with parameters of type SymbolTableModifier and TypeMethodDescriptionstatic JSONReader.ContextJSONFactory.createReadContext(SymbolTable symbolTable) static JSONReader.ContextJSONFactory.createReadContext(SymbolTable symbolTable, JSONReader.Feature... features) static voidJSONB.dump(byte[] jsonbBytes, SymbolTable symbolTable) Dumps the JSONB bytes to standard output for debugging purposes with a symbol tablestatic JSONReaderJSONReader.ofJSONB(byte[] bytes, int offset, int length, SymbolTable symbolTable) static JSONWriterJSONWriter.ofJSONB(JSONWriter.Context context, SymbolTable symbolTable) Creates a new JSONWriter instance for JSONB (binary JSON) format with the specified context and symbol table.static JSONWriterJSONWriter.ofJSONB(SymbolTable symbolTable) Creates a new JSONWriter instance for JSONB (binary JSON) format with the specified symbol table.static ObjectJSONB.parse(byte[] jsonbBytes, SymbolTable symbolTable, JSONReader.Feature... features) Parses JSONB bytes to an object with a symbol table and featuresstatic <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Class<T> objectClass, SymbolTable symbolTable) Parses JSONB bytes with offset and length to an object of the specified class with a symbol tablestatic <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Class<T> objectClass, SymbolTable symbolTable, JSONReader.Feature... features) Parses JSONB bytes with offset and length to an object of the specified class with a symbol table and featuresstatic <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Type objectClass, SymbolTable symbolTable) Parses JSONB bytes with offset and length to an object of the specified type with a symbol tablestatic <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Type objectClass, SymbolTable symbolTable, JSONReader.Feature... features) Parses JSONB bytes with offset and length to an object of the specified type with a symbol table and featuresstatic <T> TJSONB.parseObject(byte[] jsonbBytes, Type objectType, SymbolTable symbolTable) Parses JSONB bytes to an object of the specified type with a symbol tablestatic <T> TJSONB.parseObject(byte[] jsonbBytes, Type objectType, SymbolTable symbolTable, Filter[] filters, JSONReader.Feature... features) Parses JSONB bytes to an object of the specified type with a symbol table, filters and featuresstatic <T> TJSONB.parseObject(byte[] jsonbBytes, Type objectType, SymbolTable symbolTable, JSONReader.Feature... features) Parses JSONB bytes to an object of the specified type with a symbol table and featuresstatic byte[]JSONB.toBytes(Object object, JSONWriter.Context context, SymbolTable symbolTable, JSONWriter.Feature... features) Converts an object to JSONB bytes with specified context, symbol table and featuresstatic byte[]JSONB.toBytes(Object object, SymbolTable symbolTable) Converts an object to JSONB bytes with a symbol tablestatic byte[]JSONB.toBytes(Object object, SymbolTable symbolTable, Filter[] filters, JSONWriter.Feature... features) Converts an object to JSONB bytes with a symbol table, filters and featuresstatic byte[]JSONB.toBytes(Object object, SymbolTable symbolTable, JSONWriter.Feature... features) Converts an object to JSONB bytes with a symbol table and featuresstatic StringJSONB.toJSONString(byte[] jsonbBytes, SymbolTable symbolTable) Converts JSONB bytes to a JSON string with a symbol tablestatic StringJSONB.toJSONString(byte[] jsonbBytes, SymbolTable symbolTable, boolean raw) Converts JSONB bytes to a JSON string with a symbol tablestatic intJSONB.IO.writeSymbol(byte[] bytes, int off, String str, SymbolTable symbolTable) Writes a string with a symbol table to a byte arrayConstructors in com.alibaba.fastjson2 with parameters of type SymbolTableModifierConstructorDescriptionContext(ObjectReaderProvider provider, SymbolTable symbolTable) Creates a new Context with the specified object reader provider and symbol table.Context(ObjectReaderProvider provider, SymbolTable symbolTable, Filter[] filters, JSONReader.Feature... features) Creates a new Context with the specified object reader provider, symbol table, filters, and features.Context(ObjectReaderProvider provider, SymbolTable symbolTable, JSONReader.Feature... features) Creates a new Context with the specified object reader provider, symbol table, and features.protectedJSONWriter(JSONWriter.Context context, SymbolTable symbolTable, boolean jsonb, Charset charset) -
Uses of SymbolTable in com.alibaba.fastjson2.writer
Methods in com.alibaba.fastjson2.writer with parameters of type SymbolTableModifier and TypeMethodDescriptionintFieldWriter.writeEnumValueJSONB(byte[] bytes, int off, Enum e, SymbolTable symbolTable, long features) intFieldWriter.writeFieldNameSymbol(SymbolTable symbolTable)