Skip to content

Allow set/get json column as Buffer (utf-8 encoded string) #862

Open
@longdt

Description

@longdt

Sometime I want to map Json column <-> POJO object. So it's great if I can set json column as Buffer (utf-8 string bytes), and get json column as Buffer when retrieve. This allow me use dsl-json (https://github.com/ngs-doo/dsl-json A high performance json mapping) to convert Pojo object <-> json bytes.
I know we can use JsonObject.map() but it's slow due jackson is pretty slow and we need created temporary json object.
I think directly mapping from bytes to pojo is more performance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions