Uses of Interface
com.couchbase.client.java.codec.JsonSerializer
-
Packages that use JsonSerializer Package Description com.couchbase.client.java.analytics Namespace for various analytics-service related classes.com.couchbase.client.java.codec Utilities and interfaces for encoding and decoding.com.couchbase.client.java.env Holds classes related to the environment and its configuration.com.couchbase.client.java.kv Namespace for various kv-service related classes.com.couchbase.client.java.manager.raw com.couchbase.client.java.query Namespace for various query-service related classes.com.couchbase.client.java.search Namespace for various search-service related classes.com.couchbase.client.java.search.result Holds search result classes and interfaces.com.couchbase.client.java.transactions com.couchbase.client.java.transactions.internal com.couchbase.client.java.view Namespace for various view-service related classes. -
-
Uses of JsonSerializer in com.couchbase.client.java.analytics
Methods in com.couchbase.client.java.analytics that return JsonSerializer Modifier and Type Method Description JsonSerializer
AnalyticsOptions.Built. serializer()
Methods in com.couchbase.client.java.analytics with parameters of type JsonSerializer Modifier and Type Method Description static CompletableFuture<AnalyticsResult>
AnalyticsAccessor. analyticsQueryAsync(Core core, AnalyticsRequest request, JsonSerializer serializer)
static Mono<ReactiveAnalyticsResult>
AnalyticsAccessor. analyticsQueryReactive(Core core, AnalyticsRequest request, JsonSerializer serializer)
AnalyticsOptions
AnalyticsOptions. serializer(JsonSerializer serializer)
Provides a customJsonSerializer
to be used for decoding the rows as they return from the server. -
Uses of JsonSerializer in com.couchbase.client.java.codec
Classes in com.couchbase.client.java.codec that implement JsonSerializer Modifier and Type Class Description class
DefaultJsonSerializer
The default JSON serializer.class
JacksonJsonSerializer
A serializer backed by a user-provided JacksonObjectMapper
.class
JsonValueSerializerWrapper
Wraps another serializer, intercepting and handling requests to [de]serialize JsonObject and JsonArray.Methods in com.couchbase.client.java.codec with parameters of type JsonSerializer Modifier and Type Method Description static JsonTranscoder
JsonTranscoder. create(JsonSerializer serializer)
static LegacyTranscoder
LegacyTranscoder. create(JsonSerializer jsonSerializer)
Constructors in com.couchbase.client.java.codec with parameters of type JsonSerializer Constructor Description JsonValueSerializerWrapper(JsonSerializer wrapped)
-
Uses of JsonSerializer in com.couchbase.client.java.env
Methods in com.couchbase.client.java.env that return JsonSerializer Modifier and Type Method Description JsonSerializer
ClusterEnvironment. jsonSerializer()
Returns the default serializer used to serialize and deserialize JSON values.Methods in com.couchbase.client.java.env with parameters of type JsonSerializer Modifier and Type Method Description ClusterEnvironment.Builder
ClusterEnvironment.Builder. jsonSerializer(JsonSerializer jsonSerializer)
Sets the default serializer for converting between JSON and Java objects. -
Uses of JsonSerializer in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv that return JsonSerializer Modifier and Type Method Description JsonSerializer
LookupInOptions.Built. serializer()
JsonSerializer
MutateInOptions.Built. serializer()
Methods in com.couchbase.client.java.kv with parameters of type JsonSerializer Modifier and Type Method Description <T> T
MutateInResult. contentAs(int index, TypeRef<T> target, JsonSerializer serializer)
Decodes the content at the given index into an instance of the target type with a custom decoder.<T> T
MutateInResult. contentAs(int index, Class<T> target, JsonSerializer serializer)
Decodes the content at the given index into an instance of the target class with a custom decoder.static CompletableFuture<LookupInResult>
LookupInAccessor. lookupInAccessor(Core core, SubdocGetRequest request, JsonSerializer serializer)
LookupInOptions
LookupInOptions. serializer(JsonSerializer serializer)
Customizes the serializer that is used to decode the contents of theLookupInResult
.MutateInOptions
MutateInOptions. serializer(JsonSerializer serializer)
Customizes the serializer that is used to encoded the contents of this request.CoreSubdocMutateCommand
ArrayAddUnique. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
ArrayAppend. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
ArrayInsert. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
ArrayPrepend. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
Increment. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
Insert. toCore(JsonSerializer serializer)
abstract CoreSubdocMutateCommand
MutateInSpec. toCore(JsonSerializer serializer)
Internal operation called from the encoding side that encodes the spec into its internal representation.CoreSubdocMutateCommand
Remove. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
Replace. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
ReplaceBodyWithXattr. toCore(JsonSerializer serializer)
CoreSubdocMutateCommand
Upsert. toCore(JsonSerializer serializer)
Constructors in com.couchbase.client.java.kv with parameters of type JsonSerializer Constructor Description MutateInResult(CoreSubdocMutateResult core, JsonSerializer serializer)
-
Uses of JsonSerializer in com.couchbase.client.java.manager.raw
Methods in com.couchbase.client.java.manager.raw that return JsonSerializer Modifier and Type Method Description JsonSerializer
RawManagerOptions.Built. serializer()
Methods in com.couchbase.client.java.manager.raw with parameters of type JsonSerializer Modifier and Type Method Description RawManagerOptions
RawManagerOptions. serializer(JsonSerializer serializer)
Constructors in com.couchbase.client.java.manager.raw with parameters of type JsonSerializer Constructor Description RawManagerResponse(ServiceType serviceType, JsonSerializer serializer, int httpStatus, byte[] payload)
-
Uses of JsonSerializer in com.couchbase.client.java.query
Methods in com.couchbase.client.java.query that return JsonSerializer Modifier and Type Method Description JsonSerializer
QueryOptions.Built. serializer()
Methods in com.couchbase.client.java.query with parameters of type JsonSerializer Modifier and Type Method Description QueryOptions
QueryOptions. serializer(JsonSerializer serializer)
Provides a customJsonSerializer
to be used for decoding the rows as they return from the server.Constructors in com.couchbase.client.java.query with parameters of type JsonSerializer Constructor Description QueryResult(CoreQueryResult internal, JsonSerializer serializer)
Creates a new QueryResult.ReactiveQueryResult(CoreReactiveQueryResult internal, JsonSerializer serializer)
-
Uses of JsonSerializer in com.couchbase.client.java.search
Methods in com.couchbase.client.java.search that return JsonSerializer Modifier and Type Method Description JsonSerializer
SearchOptions.Built. serializer()
Methods in com.couchbase.client.java.search with parameters of type JsonSerializer Modifier and Type Method Description static CompletableFuture<SearchResult>
SearchAccessor. searchQueryAsync(Core core, SearchRequest request, JsonSerializer serializer)
static Mono<ReactiveSearchResult>
SearchAccessor. searchQueryReactive(Core core, SearchRequest request, JsonSerializer serializer)
SearchOptions
SearchOptions. serializer(JsonSerializer serializer)
-
Uses of JsonSerializer in com.couchbase.client.java.search.result
Methods in com.couchbase.client.java.search.result with parameters of type JsonSerializer Modifier and Type Method Description static SearchRow
SearchRow. fromResponse(SearchChunkRow row, JsonSerializer serializer)
Constructors in com.couchbase.client.java.search.result with parameters of type JsonSerializer Constructor Description SearchRow(String index, String id, double score, JsonObject explanation, Optional<SearchRowLocations> locations, Map<String,List<String>> fragments, byte[] fields, JsonSerializer serializer)
-
Uses of JsonSerializer in com.couchbase.client.java.transactions
Methods in com.couchbase.client.java.transactions with parameters of type JsonSerializer Modifier and Type Method Description TransactionQueryOptions
TransactionQueryOptions. serializer(JsonSerializer serializer)
Provides a customJsonSerializer
to be used for decoding the rows as they return from the server.Constructors in com.couchbase.client.java.transactions with parameters of type JsonSerializer Constructor Description ReactiveTransactions(Core core, JsonSerializer serializer)
TransactionQueryResult(CoreQueryResult internal, JsonSerializer serializer)
Creates a new TransactionQueryResult.Transactions(Core core, JsonSerializer serializer)
-
Uses of JsonSerializer in com.couchbase.client.java.transactions.internal
Methods in com.couchbase.client.java.transactions.internal with parameters of type JsonSerializer Modifier and Type Method Description static byte[]
EncodingUtil. encode(Object content, RequestSpan span, JsonSerializer serializer, CoreContext coreContext)
-
Uses of JsonSerializer in com.couchbase.client.java.view
Methods in com.couchbase.client.java.view that return JsonSerializer Modifier and Type Method Description JsonSerializer
ViewOptions.Built. serializer()
Methods in com.couchbase.client.java.view with parameters of type JsonSerializer Modifier and Type Method Description ViewOptions
ViewOptions. serializer(JsonSerializer serializer)
static CompletableFuture<ViewResult>
ViewAccessor. viewQueryAsync(Core core, ViewRequest request, JsonSerializer serializer)
static Mono<ReactiveViewResult>
ViewAccessor. viewQueryReactive(Core core, ViewRequest request, JsonSerializer serializer)
-