Skip to content

JsonValue is not supported as a return type #4

@javier-godoy

Description

@javier-godoy

The documentation claims that "JsonValue is supported as both argument and return type", but TypeConversion will ignore this case.

  • For a boolean/int/String it will fail because it "cannot cast java.lang.Boolean / java.lang.Integer / java.lang.String as elemental.json.JsonValue"
  • For null it will return null instead of JsonNull

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions