Skip to content

Cannot serialize subclasses of Properties #376

@mechite

Description

@mechite
public class MyProperties extends Properties {}

@Json
public record Example(MyProperties props) {}

^ Serialization of Example fails here.

@Json
public record Example(Properties props) {}

^ Serialization of Example is successful here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions