https://github.com/marschall/jackson-fragment-reader
A Reader based on String fragments and parameters for Jackson intended to be used with String templates
https://github.com/marschall/jackson-fragment-reader
Last synced: 3 months ago
JSON representation
A Reader based on String fragments and parameters for Jackson intended to be used with String templates
- Host: GitHub
- URL: https://github.com/marschall/jackson-fragment-reader
- Owner: marschall
- Created: 2023-05-06T14:04:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-04T13:01:32.000Z (almost 2 years ago)
- Last Synced: 2025-01-16T02:44:58.947Z (4 months ago)
- Language: Java
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Fragment Reader for Jackson
============================A `Reader` based on String fragments and parameters for Jackson intended to be used with String templates.
Advantages
----------- Avoids large intermediate allocations
- Uses `ObjectMapper` to correctly serialize values instead of relying on their string representation.Limitations
------------ String parameters are currently always quoted breaking interpolation for String literals
```java
"""
{
"key": "the value is \{value}"
}
"""