jackson-core
jackson-core copied to clipboard
Core part of Jackson that defines Streaming API as well as basic shared abstractions
Suggesting adding an option to the JSON PARSER to allow backquoted string, based on ES6 template string. The main benefit will be simplified way to enter multi line strings. It...
## Version 2.12.4 ## Feature request #### Existing scenario I think the `INTERN_FIELD_NAMES` flag is great thing to have, which is turned on by default. This would save greatly on...
In both Gson and org.json a unquoted value will be interpreted as a string. So given this array (note that apple is not quoted): ```json [33.5, 42, "foo", true, apple]...
(note: related to/inspired by https://github.com/FasterXML/jackson-databind/issues/2816) Some aspects of input document are prone to possible abuse, so that malicious sender can create specifically crafted documents to try to overload server. This...
I'd like to parse JSON5 containing comments. `JsonReadFeature#ALLOW_JAVA_COMMENTS` ignores comments when deserializing a JSON into a `JsonNode`. https://github.com/FasterXML/jackson-core/blob/0fbb52961c5092d7d1f8e8f620b719f9eff48fcd/src/main/java/com/fasterxml/jackson/core/json/ReaderBasedJsonParser.java#L2521-L2523 As a result, we lose the comment information and cannot read/recover the...
## Feature Request I'd like a way to determine if `getNumberType()` is guaranteed to return an exact response or might lose precision if parsed to the corresponding native type. ##...
I read the [JsonParser features](https://github.com/FasterXML/jackson-core/wiki/JsonParser-Features) and it is great that there are relaxed features available. I was reading [JSON5](https://json5.org/) and [HJSON ](https://hjson.github.io/) and they have some interesting features. Full support...
Current JsonParser.getText() requires reading of the whole JSON String value as String. While convenient, this may not be optimal when processing large payloads. As an alternative method, there should be...
The source of [TypeReference.java](https://github.com/FasterXML/jackson-core/blob/master/src/main/java/com/fasterxml/jackson/core/type/TypeReference.java) refers in its javadoc to specifically this comment from [Neal Gafter's blogpost about Super TypeTokens](https://gafter.blogspot.com/2006/12/super-type-tokens.html): > Brian Oxley said... > Rather than check for a type...
In order to add better (optional) logical location information for all Jackson, it is necessary to move `Reference` helper type down from `jackson-databind` into `jackson-core`. While it could be added...