Uses of Class
cloud.opencode.base.json.JsonConfig.Builder
Packages that use JsonConfig.Builder
Package
Description
OpenCode JSON - Unified JSON Processing Facade
OpenCode JSON - 统一 JSON 处理门面
-
Uses of JsonConfig.Builder in cloud.opencode.base.json
Methods in cloud.opencode.base.json that return JsonConfig.BuilderModifier and TypeMethodDescriptionstatic JsonConfig.BuilderJsonConfig.builder()Creates a new builder.JsonConfig.Builder.dateFormat(String format) Sets the date format pattern.JsonConfig.Builder.disable(JsonFeature feature) Disables a feature.JsonConfig.Builder.disable(JsonFeature... features) Disables multiple features.JsonConfig.Builder.enable(JsonFeature feature) Enables a feature.JsonConfig.Builder.enable(JsonFeature... features) Enables multiple features.Sets the indentation string.JsonConfig.Builder.maxDepth(int maxDepth) Sets the maximum nesting depth.JsonConfig.Builder.maxSize(int maxSize) Sets the maximum array/object size.JsonConfig.Builder.maxStringLength(int maxStringLength) Sets the maximum string length.JsonConfig.Builder.namingStrategy(JsonNaming.Strategy strategy) Sets the naming strategy.JsonConfig.Builder.prettyPrint()Enables pretty printing.Sets the timezone by ID.Sets the timezone.JsonConfig.toBuilder()Creates a builder initialized with this config.