Andriy Plokhotnyuk

Results 360 comments of Andriy Plokhotnyuk

There are a lot of solutions for Java: https://github.com/uniVocity/csv-parsers-comparison But a custom codec which is based on jsoniter-scala-core outperforms them greatly when numbers and strings are represented as JSON values....

@kevinmeredith It is a case about collisions in a hash map that is used for internal representation of JSON object like here: https://github.com/playframework/play-json/issues/186 https://github.com/spray/spray-json/issues/277 https://github.com/json4s/json4s/issues/553 Please start from reproducible steps...

@Bharat1103 Try [jsoniter-scala](https://github.com/plokhotnyuk/jsoniter-scala). It works exactly as you need with ADTs. Also, it is [much safer](https://github.com/hseeberger/akka-http-json/pull/205#issuecomment-392472719) and [more efficient](jmh.morethan.io/?source=https://plokhotnyuk.github.io/jsoniter-scala/oraclejdk8.json) than Play-JSON.

@Daenyth please, look into this thread: https://twitter.com/travisbrown/status/964571935030915072?lang=en

Sorry, here should be a right direction: https://github.com/unicredit/sbt-swagger-codegen

What about of adding an ability to configure a math context (for rounding of the mantissa after parsing) and a limit for scale (to avoid DoS due malicious input)?

I see that for parsing of `BigInt` values there no pre-configured limits in DSL-JSON, and the following benchmark does not need any configuration to parse 1M-digit numbers (limits for number...

Currently during parsing of float primitives there is a small error ~1ULP. I think it should be documented properly until "exact" parsing option (with precision ~0.5ULP) is not available. BTW,...

The rounding error can be easy reproduced when parsing string representation of some double values. ``` scala> "1.00000017881393432617187499".toFloat res0: Float = 1.0000001 scala> "1.00000017881393432617187499".toDouble.toFloat res1: Float = 1.0000002 ``` The...