Skip to content

JsonArray serialization produced an incorrect result #464

@zzl221000

Description

@zzl221000

The serialized result is missing a comma.

        System.out.println(Jsonb.builder().build().type(JsonArray.class)
                .toJson(
                        JsonArray.create().add(JsonArray.create().add("")).add(JsonArray.create().add(""))
                )
        );

Expected result

[[""],[""]]

Actual result

[[""][""]]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions