Skip to content
#

jackson

Here are 624 public repositories matching this topic...

abrav9595
abrav9595 commented Aug 25, 2021

Describe the bug

Locale with BCP 47 extensions are not serialized / de-serialized as expected using ObjectMapper.

Version information

Which Jackson version(s) was this for?
All Jackson versions.

To Reproduce

If you have a way to reproduce this with:

Brief code sample/snippet: include here in pre-formatted/code section

Locale locale = Locale.forLanguageTag("en-US-x-de
jonfreedman
jonfreedman commented Dec 17, 2019

I have a TypeIdResolver implementation which works around generic type erasure to allow marshaling/unmarshaling of a parameterized type. This works fine when the underlying parameterized type maps directly onto a JSON type e.g. java.lang.Double but when it's a type that needs to be converted to a JSON string e.g. java.time.LocalDate then my TypeIdResolver is asked for a type and I can eit

blast-hardcheese
blast-hardcheese commented Sep 2, 2021

I do most of my development against 2.12 because of sbt, but during CI we still build against 2.13 to test both the generator as well as the generated code against 2.13.

As a result, a lot of warnings have appeared around deprecated syntax and deprecated stdlib imports, these should be resolved.

This is a fairly straightforward change, you can see some of the warnings by doing

s
allquixotic
allquixotic commented Apr 16, 2021

Tools like jq are focused predominantly on their use on the command line, but have a lot of limitations (and bugs!) that jslt doesn't. This is a compliment to jslt btw. :)

To properly replace the usage of jq with jslt, we would like to be able to have some more flexibility with the ways of specifying the input parameters as well as the output.

  • Specifying JSON input or JSLT transform input

2018年本科毕设项目,已更新所有开发和部署文档。基于Dubbo、SSM、Shiro、ELK、ActiveMQ、Redis等实现的一套高可用、高性能、高可扩展的分布式系统架构,实现可支持业务的基础公共服务,API使用Restful风格对外暴露。已经实现的包括:发送邮件服务、FastDFS文件存储服务、ELK实时日志查询服务、Redis缓存服务、Mybatis数据库、阿里短信推送、Goeasy消息推送、Druid监控、ActiveMQ消息队列、shiro权限认证、cas单点登录、权限配置web系统、移动端后台系统。持续更新中......

  • Updated Jun 20, 2018
  • Java
TomRK1089
TomRK1089 commented Mar 26, 2020

InstantSerializer doesn't respect any of the following standard Jackson configuration settings:

ObjectMapper#setDateFormat
@JsonFormat(pattern) on an Instant
others?

Instead, I have to create and manually override the default InstantSerializer registered by the module.

This isn't well documented and is definitely confusing when using the library.
Can we make InstantSerializer

trohovsky
trohovsky commented May 8, 2020

It would be nice to have a CSV feature similar to JSON feature JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS. Enabling of the feature by mapper.enable(JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS) doesn't work for CSV.

I want to write an object of this class:

data class TestData(
        val integer: Int,
        val float: Float
}

as
"1","1.234"
not as
1,1.234

Improve this page

Add a description, image, and links to the jackson topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the jackson topic, visit your repo's landing page and select "manage topics."

Learn more