-
Updated
Aug 13, 2021 - Java
jackson
Here are 622 public repositories matching this topic...
-
Updated
Jul 24, 2021
-
Updated
Aug 2, 2021 - Java
-
Updated
Jul 23, 2021 - Java
-
Updated
Aug 7, 2021 - Kotlin
JsonGenerator#writeTypePrefix writes an id "null" and cannot be set up to skip the id completely
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
-
Updated
Jul 21, 2021 - Kotlin
-
Updated
Aug 1, 2021 - Java
-
Updated
Aug 15, 2021 - Scala
Hi,
i have following schema
Product:
type: object
properties:
id:
type: string
type:
$ref: '#/components/schemas/Type'
required:
- shape
- id
Type:
type: string
enum:
- Service
- Digitalwhich generate following code
package com.product.api
iTools 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
Add module-info.java
-
Updated
Jun 20, 2018 - Java
-
Updated
Jul 13, 2021 - Kotlin
InstantSerializer doesn't respect any format-related settings without replacing serializer instance
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
-
Updated
Apr 26, 2021 - JavaScript
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
-
Updated
Jul 2, 2021 - Java
-
Updated
Aug 13, 2021 - Java
-
Updated
Aug 12, 2021 - Java
-
Updated
Sep 11, 2020 - Java
Improve this page
Add a description, image, and links to the jackson topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the jackson topic, visit your repo's landing page and select "manage topics."
Describe the solution you'd like
A property naming strategy that does UPPER_SNAKE_CASE.
Usage example
The parameter
userIdis serialized as{"USER_ID":<value>}I wasn't able to find this in the source, so apologies if I've just missed it.