Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nosql-dev] support for java arrays

Hey Dmitry, how are you?

For sure, we can do it.

I've created this as an issue at: https://github.com/jakartaee/nosql/issues/179


On Wed, Jul 31, 2024 at 11:57 AM Dmitry Repchevsky via nosql-dev <nosql-dev@xxxxxxxxxxx> wrote:
Hello,

I am wonder that java arrays are not supported in nosql spec...

Jakarta NoSQL 3.0 spec.:

2.1.2. Basic Types

byte[]    Represents binary data.

It looks like only bytes array is supported.

On the other hand Jakarta JSON-B 3.0 spec.:

3.12. Arrays

JSON Binding implementations MUST support the binding of Java arrays of
all supported Java types from this chapter into/from JSON array
structures as defined in Section 5 of RFC 7159.
Arrays of primitive types and multi-dimensional arrays MUST be supported.

I have to implement my custom IntegerArrayValueReader, LongArrayReader,
etc...

Could we better align NoSQL with JSON-B in this?

Kind regards,

Dmitry

_______________________________________________
nosql-dev mailing list
nosql-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/nosql-dev


--

Thanks a lot,

Twitter | Linkedin | Youtube


Back to the top