Uses of Interface
com.couchbase.client.java.codec.JsonSerializer
Packages that use JsonSerializer
Package
Description
Namespace for various analytics-service related classes.
Utilities and interfaces for encoding and decoding.
Holds classes related to the environment and its configuration.
Namespace for various kv-service related classes.
Namespace for various query-service related classes.
Namespace for various search-service related classes.
Holds search result classes and interfaces.
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 JsonSerializerMethods in com.couchbase.client.java.analytics with parameters of type JsonSerializerModifier and TypeMethodDescriptionstatic CompletableFuture<AnalyticsResult>
AnalyticsAccessor.analyticsQueryAsync
(Core core, AnalyticsRequest request, JsonSerializer serializer) static Mono<ReactiveAnalyticsResult>
AnalyticsAccessor.analyticsQueryReactive
(Core core, AnalyticsRequest request, JsonSerializer serializer) 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 JsonSerializerModifier and TypeClassDescriptionclass
The default JSON serializer.class
A serializer backed by a user-provided JacksonObjectMapper
.class
Wraps another serializer, intercepting and handling requests to [de]serialize JsonObject and JsonArray.Methods in com.couchbase.client.java.codec with parameters of type JsonSerializerModifier and TypeMethodDescriptionstatic JsonTranscoder
JsonTranscoder.create
(JsonSerializer serializer) static LegacyTranscoder
LegacyTranscoder.create
(JsonSerializer jsonSerializer) Constructors in com.couchbase.client.java.codec with parameters of type JsonSerializer -
Uses of JsonSerializer in com.couchbase.client.java.env
Methods in com.couchbase.client.java.env that return JsonSerializerModifier and TypeMethodDescriptionClusterEnvironment.jsonSerializer()
Returns the default serializer used to serialize and deserialize JSON values.Methods in com.couchbase.client.java.env with parameters of type JsonSerializerModifier and TypeMethodDescriptionClusterEnvironment.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 JsonSerializerModifier and TypeMethodDescriptionLookupInAllReplicasOptions.Built.serializer()
LookupInAnyReplicaOptions.Built.serializer()
LookupInOptions.Built.serializer()
MutateInOptions.Built.serializer()
Methods in com.couchbase.client.java.kv with parameters of type JsonSerializerModifier and TypeMethodDescription<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 LookupInReplicaResult
LookupInReplicaResult.from
(CoreSubdocGetResult response, JsonSerializer serializer) LookupInAllReplicasOptions.serializer
(JsonSerializer serializer) Allows to specify a custom serializer that is used to decode the content of the result.LookupInAnyReplicaOptions.serializer
(JsonSerializer serializer) Allows to specify a custom serializer that is used to decode the content of the result.LookupInOptions.serializer
(JsonSerializer serializer) Customizes the serializer that is used to decode the contents of theLookupInResult
.MutateInOptions.serializer
(JsonSerializer serializer) Customizes the serializer that is used to encoded the contents of this request.ArrayAddUnique.toCore
(JsonSerializer serializer) ArrayAppend.toCore
(JsonSerializer serializer) ArrayInsert.toCore
(JsonSerializer serializer) ArrayPrepend.toCore
(JsonSerializer serializer) Increment.toCore
(JsonSerializer serializer) 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.Remove.toCore
(JsonSerializer serializer) Replace.toCore
(JsonSerializer serializer) ReplaceBodyWithXattr.toCore
(JsonSerializer serializer) Upsert.toCore
(JsonSerializer serializer) Constructors in com.couchbase.client.java.kv with parameters of type JsonSerializerModifierConstructorDescriptionLookupInResult
(CoreSubdocGetResult core, JsonSerializer serializer) 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 JsonSerializerMethods in com.couchbase.client.java.manager.raw with parameters of type JsonSerializerConstructors in com.couchbase.client.java.manager.raw with parameters of type JsonSerializerModifierConstructorDescriptionRawManagerResponse
(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 JsonSerializerMethods in com.couchbase.client.java.query with parameters of type JsonSerializerModifier and TypeMethodDescriptionQueryOptions.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 JsonSerializerModifierConstructorDescriptionQueryResult
(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 JsonSerializerMethods in com.couchbase.client.java.search with parameters of type JsonSerializer -
Uses of JsonSerializer in com.couchbase.client.java.search.result
Constructors in com.couchbase.client.java.search.result with parameters of type JsonSerializerModifierConstructorDescriptionReactiveSearchResult
(CoreReactiveSearchResult internal, JsonSerializer serializer) SearchResult
(CoreSearchResult internal, JsonSerializer serializer) Creates a new SearchResult.SearchRow
(CoreSearchRow internal, JsonSerializer serializer) -
Uses of JsonSerializer in com.couchbase.client.java.transactions
Methods in com.couchbase.client.java.transactions with parameters of type JsonSerializerModifier and TypeMethodDescriptionTransactionQueryOptions.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 JsonSerializerModifierConstructorDescriptionReactiveTransactions
(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 JsonSerializerModifier and TypeMethodDescriptionstatic 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 JsonSerializerMethods in com.couchbase.client.java.view with parameters of type JsonSerializerModifier and TypeMethodDescriptionViewOptions.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)