new test cases to support bean annotation
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package org.json.junit.data;
|
||||
|
||||
import org.json.JSONPropertyIgnore;
|
||||
import org.json.JSONPropertyName;
|
||||
|
||||
public interface MyBeanCustomNameInterface {
|
||||
@JSONPropertyName("InterfaceField")
|
||||
float getSomeFloat();
|
||||
@JSONPropertyIgnore
|
||||
int getIgnoredInt();
|
||||
}
|
||||
Reference in New Issue
Block a user