Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Extend the JSON API to accept values of raw types #3369

@tishun

Description

@tishun

Feature Request

Is your feature request related to a problem? Please describe

The existing JSON API assumes the user only works with JSONValue objects.
In certain cases we might want to provide a String interface instead, because otherwise they'd have to convert from string to JSONValue and then the driver would convert back to String and then to a byte array.

Describe the solution you'd like

Design a new set of interfaces that work for applications using only V as input and output parameters, instead of JsonValue objects.

Describe alternatives you've considered

Alternatively one would have to use the existing API and do some unnecessary conversions

Teachability, Documentation, Adoption, Migration Strategy

N/A

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions