Uses of Interface
cloud.opencode.base.json.stream.JsonWriter
Packages that use JsonWriter
Package
Description
OpenCode JSON - Unified JSON Processing Facade
OpenCode JSON - 统一 JSON 处理门面
JSON Adapter - Custom Type Adapters
JSON Adapter - 自定义类型适配器
JSON SPI - Service Provider Interface for JSON Engines
JSON SPI - JSON 引擎的服务提供者接口
JSON Stream - Streaming API for Large JSON Processing
JSON Stream - 大 JSON 处理的流式 API
-
Uses of JsonWriter in cloud.opencode.base.json
Methods in cloud.opencode.base.json that return JsonWriterModifier and TypeMethodDescriptionstatic JsonWriterOpenJson.createWriter(OutputStream output) Creates a JsonWriter for an OutputStream.static JsonWriterOpenJson.createWriter(Writer writer) Creates a JsonWriter for a Writer. -
Uses of JsonWriter in cloud.opencode.base.json.adapter
Methods in cloud.opencode.base.json.adapter with parameters of type JsonWriterModifier and TypeMethodDescriptiondefault voidJsonTypeAdapter.write(JsonWriter writer, T value) Writes the value directly to a JsonWriter (optional). -
Uses of JsonWriter in cloud.opencode.base.json.spi
Methods in cloud.opencode.base.json.spi that return JsonWriterModifier and TypeMethodDescriptionJsonProvider.createWriter(OutputStream output) Creates a JsonWriter for the given output stream.JsonProvider.createWriter(Writer writer) Creates a JsonWriter for the given writer. -
Uses of JsonWriter in cloud.opencode.base.json.stream
Methods in cloud.opencode.base.json.stream that return JsonWriterModifier and TypeMethodDescriptionJsonWriter.beginArray()Begins writing a JSON array.JsonWriter.beginObject()Begins writing a JSON object.JsonWriter.endArray()Ends writing a JSON array.JsonWriter.endObject()Ends writing a JSON object.Writes a raw JSON value (without escaping).Writes a property name.JsonWriter.nullValue()Writes a null value.default JsonWriterWrites a name/value pair.default JsonWriterWrites a name/value pair.default JsonWriterWrites a name/value pair.default JsonWriterWrites a name/value pair.default JsonWriterWrites a name/value pair.default JsonWriterWrites a name/value pair.default JsonWriterJsonWriter.propertyNull(String name) Writes a name/null pair.JsonWriter.setHtmlSafe(boolean htmlSafe) Sets whether HTML-safe mode is enabled.Sets the indentation string for pretty printing.JsonWriter.setLenient(boolean lenient) Sets whether this writer is lenient.JsonWriter.setSerializeNulls(boolean serializeNulls) Sets whether to serialize nulls.JsonWriter.value(boolean value) Writes a boolean value.JsonWriter.value(double value) Writes a double value.default JsonWriterJsonWriter.value(float value) Writes a float value.JsonWriter.value(int value) Writes an int value.JsonWriter.value(long value) Writes a long value.Writes a Number value.Writes a string value.default JsonWriterJsonWriter.value(BigDecimal value) Writes a BigDecimal value.default JsonWriterJsonWriter.value(BigInteger value) Writes a BigInteger value.