Skip to content

getter name conflict issue #57

@FalconIA

Description

@FalconIA
public class JsonUtilsTest {

	@Test
	public void toJson() throws Exception {
		ResourceSupport obj= new ResourceSupport();
		JsonStream.serialize(obj);
	}

	public class ResourceSupport implements Identifiable<Long>, Serializable {

		@JsonIgnore
		@Override
		public Long getId() {
			return null;
		}
	}

	public interface Identifiable<ID extends Serializable> {
		ID getId();
	}
}

Get exception with message: getter name conflict: id

jsoniter version is 0.9.11

Metadata

Metadata

Assignees

No one assigned

    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