Uses of Class
com.alibaba.fastjson2.JSONReader.Context
Packages that use JSONReader.Context
-
Uses of JSONReader.Context in com.alibaba.fastjson2
Fields in com.alibaba.fastjson2 declared as JSONReader.ContextMethods in com.alibaba.fastjson2 that return JSONReader.ContextModifier and TypeMethodDescriptionprotected JSONReader.ContextJSONPath.createContext()Creates a new reading contextstatic JSONReader.ContextJSONFactory.createReadContext()Creates a new JSON reader context with default settings.static JSONReader.ContextJSONFactory.createReadContext(long features) Creates a new JSON reader context with the specified features.static JSONReader.ContextJSONFactory.createReadContext(Filter filter, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(JSONReader.Feature... features) Creates a new JSON reader context with the specified features.static JSONReader.ContextJSONFactory.createReadContext(ObjectReaderProvider provider, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(SymbolTable symbolTable) static JSONReader.ContextJSONFactory.createReadContext(SymbolTable symbolTable, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(Supplier<Map> objectSupplier, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(Supplier<Map> objectSupplier, Supplier<List> arraySupplier, JSONReader.Feature... features) final JSONReader.ContextJSONReader.getContext()Gets the reading context for this JSONReader.JSONPath.getReaderContext()Gets the reading context, creating it if necessaryJSONReader.Context.setBufferSize(int bufferSize) Sets the buffer size for this context.Methods in com.alibaba.fastjson2 with parameters of type JSONReader.ContextModifier and TypeMethodDescriptionstatic JSONReaderJSONReader.of(byte[] bytes, int offset, int length, JSONReader.Context context) static JSONReaderJSONReader.of(byte[] bytes, int offset, int length, Charset charset, JSONReader.Context context) static JSONReaderJSONReader.of(byte[] utf8Bytes, JSONReader.Context context) static JSONReaderJSONReader.of(char[] chars, int offset, int length, JSONReader.Context context) static JSONReaderJSONReader.of(char[] chars, JSONReader.Context context) static JSONReaderJSONReader.of(JSONReader.Context context, byte[] utf8Bytes) Deprecated.static JSONReaderJSONReader.of(JSONReader.Context context, char[] chars) Deprecated.static JSONReaderJSONReader.of(JSONReader.Context context, String str) Deprecated.static JSONReaderJSONReader.of(InputStream is, Charset charset, JSONReader.Context context) static JSONReaderJSONReader.of(Reader is, JSONReader.Context context) static JSONReaderJSONReader.of(String str, int offset, int length, JSONReader.Context context) static JSONReaderJSONReader.of(String str, JSONReader.Context context) static JSONReaderJSONReader.of(URL url, JSONReader.Context context) static JSONReaderJSONReader.of(ByteBuffer buffer, Charset charset, JSONReader.Context context) static JSONReaderJSONReader.ofJSONB(byte[] bytes, int offset, int length, JSONReader.Context context) static JSONReaderJSONReader.ofJSONB(byte[] jsonbBytes, JSONReader.Context context) static JSONReaderJSONReader.ofJSONB(JSONReader.Context context, byte[] jsonbBytes) Deprecated.static JSONReaderJSONReader.ofJSONB(InputStream in, JSONReader.Context context) static ObjectJSON.parse(byte[] bytes, int offset, int length, Charset charset, JSONReader.Context context) Parses the json byte array as aJSONArrayorJSONObject.static ObjectJSON.parse(byte[] bytes, JSONReader.Context context) Parses the json byte array as aJSONArrayorJSONObject.static ObjectJSON.parse(char[] chars, JSONReader.Context context) Parses the json char array as aJSONArrayorJSONObject.static ObjectJSON.parse(InputStream in, JSONReader.Context context) Parses the json stream as aJSONArrayorJSONObject.static ObjectJSON.parse(String text, JSONReader.Context context) Parses the json string as aJSONArrayorJSONObject.static ObjectJSONB.parse(byte[] jsonbBytes, JSONReader.Context context) Parses JSONB bytes to an object using the specified contextstatic ObjectJSONB.parse(InputStream in, JSONReader.Context context) Parses JSONB from an input stream to an object using the specified contextstatic JSONArrayJSON.parseArray(InputStream in, Charset charset, JSONReader.Context context) Parses the json stream as aJSONArray.static JSONArrayJSONB.parseArray(InputStream in, JSONReader.Context context) Parses JSONB from an input stream to a JSONArray using the specified contextstatic <T> TJSON.parseObject(byte[] bytes, Class<T> clazz, JSONReader.Context context) Parses the json byte array asJSON.static <T> TJSON.parseObject(byte[] bytes, Type type, JSONReader.Context context) Parses the json string asJSON.static JSONObjectJSON.parseObject(InputStream input, Charset charset, JSONReader.Context context) Parses the json stream as aJSONObject.static <T> TJSON.parseObject(InputStream input, Charset charset, Class<T> type, JSONReader.Context context) Parses the json stream as aJSON.static <T> TJSON.parseObject(InputStream input, Charset charset, Type type, JSONReader.Context context) Parses the json stream as aJSON.static JSONObjectJSON.parseObject(String text, int offset, int length, JSONReader.Context context) Parses the json string as aJSONObject.static JSONObjectJSON.parseObject(String text, JSONReader.Context context) Parses the json string as aJSONObject.static <T> TJSON.parseObject(String text, Class<T> clazz, JSONReader.Context context) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Type type, JSONReader.Context context) Parses the json string asJSON.static <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Type objectType, JSONReader.Context context) Parses JSONB bytes with offset and length to an object of the specified type using the specified contextstatic <T> TJSONB.parseObject(byte[] jsonbBytes, Class<T> objectClass, JSONReader.Context context) Parses JSONB bytes to an object of the specified class using the specified contextstatic <T> TJSONB.parseObject(InputStream in, int length, Type objectType, JSONReader.Context context) Parses JSONB from an input stream with specified length to an object of the specified type using the specified contextstatic JSONObjectJSONB.parseObject(InputStream in, JSONReader.Context context) Parses JSONB bytes to a JSONObject using the specified contextstatic <T> TJSONB.parseObject(InputStream in, Class objectClass, JSONReader.Context context) Parses JSONB from an input stream to an object of the specified class using the specified contextstatic <T> TJSONB.parseObject(InputStream in, Type objectType, JSONReader.Context context) Parses JSONB from an input stream to an object of the specified type using the specified contextJSONPath.setReaderContext(JSONReader.Context context) Sets the reading contextConstructors in com.alibaba.fastjson2 with parameters of type JSONReader.ContextModifierConstructorDescriptionJSONReader(JSONReader.Context context, boolean jsonb, boolean utf8) Constructs a new JSONReader with the specified context and configuration. -
Uses of JSONReader.Context in com.alibaba.fastjson2.reader
Methods in com.alibaba.fastjson2.reader with parameters of type JSONReader.ContextModifier and TypeMethodDescriptiondefault ObjectReaderObjectReader.autoType(JSONReader.Context context, long typeHash) Resolves an ObjectReader for the specified type hash using the JSON reader context.ObjectReaderAdapter.autoType(JSONReader.Context context, long typeHash) FieldReaderList.createList(JSONReader.Context context) FieldReader.getItemObjectReader(JSONReader.Context ctx) FieldReader.getObjectReader(JSONReader.Context context) FieldReaderObject.getObjectReader(JSONReader.Context context)