org.codehaus.jackson.annotate.JsonValue Java Examples

The following examples show how to use org.codehaus.jackson.annotate.JsonValue. 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: SmokeCOAlarm.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@JsonValue
public String value() {
    return state;
}
 
Example #2
Source File: AvroPrimitive.java    From Avro-Schema-Generator with Apache License 2.0 4 votes vote down vote up
@JsonValue
public String getType() {
	return name;
}
 
Example #3
Source File: AvroUnion.java    From Avro-Schema-Generator with Apache License 2.0 4 votes vote down vote up
@JsonValue
private AvroType[] jsonValue() {
	return types;
}
 
Example #4
Source File: DummyAvroType.java    From Avro-Schema-Generator with Apache License 2.0 4 votes vote down vote up
@JsonValue
private String jsonValue() {
	return type;
}
 
Example #5
Source File: DateAvroType.java    From Avro-Schema-Generator with Apache License 2.0 4 votes vote down vote up
@JsonValue
public String jsonValue() {
	return namespace + "." + name;
}
 
Example #6
Source File: ReferenceAvroType.java    From Avro-Schema-Generator with Apache License 2.0 4 votes vote down vote up
@JsonValue
public String jsonValue() {
	return namespace + "." + name;
}
 
Example #7
Source File: ControlPlugFunction.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@Override
@JsonValue
public String toString() {
    return this.state;
}
 
Example #8
Source File: Temperature.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@JsonValue
public int value() {
    return temp.intValue();
}
 
Example #9
Source File: Selection.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@Override
@JsonValue
public String toString() {
    return this.type;
}
 
Example #10
Source File: AcknowledgeFunction.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@Override
@JsonValue
public String toString() {
    return this.type;
}
 
Example #11
Source File: SmokeCOAlarm.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@JsonValue
public String value() {
    return state;
}
 
Example #12
Source File: SearchParameters.java    From incubator-atlas with Apache License 2.0 4 votes vote down vote up
@JsonValue
public String getSymbol() {
    return symbols[0];
}
 
Example #13
Source File: Thermostat.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@JsonValue
public String value() {
    return state;
}
 
Example #14
Source File: Thermostat.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@JsonValue
public String value() {
    return mode;
}
 
Example #15
Source File: Structure.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@JsonValue
public String value() {
    return state;
}
 
Example #16
Source File: Structure.java    From openhab1-addons with Eclipse Public License 2.0 4 votes vote down vote up
@JsonValue
public String value() {
    return state;
}
 
Example #17
Source File: Headline.java    From jenkins-build-monitor-plugin with MIT License 4 votes vote down vote up
@JsonValue
public String value() {
    return value;
}
 
Example #18
Source File: KnowsCurrentBuildsDetails.java    From jenkins-build-monitor-plugin with MIT License 4 votes vote down vote up
@JsonValue
public List<CurrentBuild> value() {
	return ImmutableList.copyOf(builds);
}
 
Example #19
Source File: CanBeDiagnosedForProblems.java    From jenkins-build-monitor-plugin with MIT License 4 votes vote down vote up
@JsonValue
public List<String> value() {
    return ImmutableList.copyOf(failures);
}
 
Example #20
Source File: HasBadgesBadgePlugin.java    From jenkins-build-monitor-plugin with MIT License 4 votes vote down vote up
@JsonValue
public List<Badge> value() {
    return ImmutableList.copyOf(badges);
}
 
Example #21
Source File: HasBadgesGroovyPostbuildPlugin.java    From jenkins-build-monitor-plugin with MIT License 4 votes vote down vote up
@JsonValue
public List<Badge> value() {
    return ImmutableList.copyOf(badges);
}