mirror of
https://github.com/stleary/JSON-java.git
synced 2026-05-19 00:00:46 -04:00
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