Skip to content
#

jackson

Here are 675 public repositories matching this topic...

MBurchard
MBurchard commented Nov 18, 2020

Describe the bug
@JsonFormat does not work as expected when converting string to double and vice versa.

Version information
2.11.3

To Reproduce
I have an entity with a double property. Challenge is to read an external API that sends the capacity value as string in German Format.

@JsonIgnoreProperties(ignoreUnknown = true)
data class Event(
		@JsonProperty("NUMCap
cowtowncoder
cowtowncoder commented Nov 6, 2019

Jsoniter project (https://github.com/plokhotnyuk/jsoniter-scala) has many impressive performance optimizations; linked f.ex from here:

https://www.reddit.com/r/java/comments/darehu/jackson_release_210/f1ysf1e/

Of ones included, number-parsing would be relevant for this repo.

EDIT: also see (from the comment below)

"Unrelated to jsoniter but this recent port of Lemire's Double parser:

oyvindberg
oyvindberg commented Jan 27, 2022

Hi there, thanks for this project. Very happy so far.

We're trying to migrate to scala 3, and on of the things which came up was this.

I need to make this manual change to use a generated http4s client, in Implicits.scala

-    implicit val showString = build[String](Predef.identity)
-    implicit val showInt = build[Int](_.toString)
-    implicit val showLong = build[Long](_.
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