KEMBAR78
Replacing Timestamp with Java8 Instant or ability to use custom serializer · Issue #509 · googleapis/java-firestore · GitHub
Skip to content

Replacing Timestamp with Java8 Instant or ability to use custom serializer #509

@vojkny

Description

@vojkny

This is a follow up for an issue which was closed without any explanation:
#88

Is your feature request related to a problem? Please describe.
We would like to use custom deserializer for using Java8 Instant or similar instead of proprietary Timestamp.

Describe the solution you'd like
The easiest would be registration of custom serializer like Jackson provides:

val objectMapper = ObjectMapper()
    .registerModule(JavaTimeModule())

Additional context
See the previously closed issue.

Note to Googlers (added by @dconeybe): This feature request is being tracked internally by b/326255898

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the googleapis/java-firestore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions