[
https://issues.apache.org/jira/browse/SOLR-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907900#comment-17907900
]
David Smiley commented on SOLR-17608:
-------------------------------------
I doubt we need to do custom things for Instant in Jackson for something so
basic. A quick google searched turned up
[https://github.com/FasterXML/jackson-modules-java8] Also was making me
wonder if we should be on Jackson 3.
> v1/v2 serialization should support 'Instant'
> ---------------------------------------------
>
> Key: SOLR-17608
> URL: https://issues.apache.org/jira/browse/SOLR-17608
> Project: Solr
> Issue Type: Improvement
> Components: Response Writers, SolrJ
> Reporter: Jason Gerlowski
> Priority: Minor
>
> David pointed out on a recent PR that it'd be nice if our API responses could
> use 'java.time.Instant' objects.
> This is do-able but would require changes to the following:
> * add stub 'JsonSerializer' and 'JsonDeserializer' implementations to our
> SolrJacksonMapper
> * add handling of 'Instant' in 'TextWriter.writeVal', and the corresponding
> location in JavaBinCodec
> ** possible read-side changes to match those in TextWriter+JavaBinCodec?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]