org.json.JSONPropertyIgnore Java Examples
The following examples show how to use
org.json.JSONPropertyIgnore.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MyType.java From fabric-chaincode-java with Apache License 2.0 | 4 votes |
@JSONPropertyIgnore() public void setState(final String state) { this.state = state; }
Example #2
Source File: MyType.java From fabric-chaincode-java with Apache License 2.0 | 4 votes |
@JSONPropertyIgnore() public boolean isStarted() { return state.equals(STARTED); }
Example #3
Source File: MyType.java From fabric-chaincode-java with Apache License 2.0 | 4 votes |
@JSONPropertyIgnore() public boolean isStopped() { return state.equals(STARTED); }
Example #4
Source File: MyBeanCustomNameInterface.java From JSON-Java-unit-test with Apache License 2.0 | 4 votes |
@JSONPropertyIgnore int getIgnoredInt();
Example #5
Source File: MyBeanCustomNameSubClass.java From JSON-Java-unit-test with Apache License 2.0 | 4 votes |
@JSONPropertyIgnore @JSONPropertyName("ShouldBeIgnored") public boolean getShouldNotBeJSON() { return true; }