Skip to content

question/issue about reading Object as JsonObject #1156

Closed
@mikereiche

Description

@mikereiche

question/issue about reading object as JsonObject (instead of empty java.lang.Obect)
From Davide Pellegatta

It’s about object mapping in spring-data-couchbase for very generic objects:
@DaTa
@with
@AllArgsConstructor
@NoArgsConstructor
@document
public class Note {
@id
private String id;
private Map<String, Object> json;
}

basically my customer would like to work with something like this. I don’t think it’s possible to make it work. But I’d like to double check this
I already point them to CouchbaseTemplate for this, but at the same time I’d want to be sure as this with the mongo implementation works just fine.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions