Tabnine Logo
JsonProperty
Code IndexAdd Tabnine to your IDE (free)

How to use
JsonProperty
in
org.codehaus.jackson.annotate

Best Java code snippets using org.codehaus.jackson.annotate.JsonProperty (Showing top 20 results out of 2,331)

Refine searchRefine arrow

  • XmlElement
  • JsonIgnoreProperties
  • JsonCreator
origin: org.codehaus.jackson/jackson-core-asl

@JsonCreator
public JsonLocation(@JsonProperty("sourceRef") Object sourceRef,
          @JsonProperty("byteOffset") long totalBytes,
          @JsonProperty("charOffset") long totalChars,
          @JsonProperty("lineNr") int lineNr,
          @JsonProperty("columnNr") int columnNr)
{
  _sourceRef = sourceRef;
  _totalBytes = totalBytes;
  _totalChars = totalChars;
  _lineNr = lineNr;
  _columnNr = columnNr;
}
origin: org.codehaus.jackson/jackson-mapper-asl

@Override
public String findPropertyNameForParam(AnnotatedParameter param)
{
  if (param != null) {
    JsonProperty pann = param.getAnnotation(JsonProperty.class);
    if (pann != null) {
      return pann.value();
    }
    /* And can not use JsonDeserialize as we can not use
     * name auto-detection (names of local variables including
     * parameters are not necessarily preserved in bytecode)
     */
  }
  return null;
}
origin: OpenNMS/opennms

@XmlElement(name="values")
@JsonProperty("values")
public double[] getList() {
  return values;
}
origin: twosigma/beakerx

@JsonProperty("connectionName")
public String getConnectionName() {
 return connectionName;
}
origin: spring-projects/spring-security-oauth

@org.codehaus.jackson.annotate.JsonProperty("client_id")
@com.fasterxml.jackson.annotation.JsonProperty("client_id")
private String clientId;
@org.codehaus.jackson.annotate.JsonProperty("client_secret")
@com.fasterxml.jackson.annotation.JsonProperty("client_secret")
private String clientSecret;
@org.codehaus.jackson.annotate.JsonProperty("resource_ids")
@org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class)
@com.fasterxml.jackson.annotation.JsonProperty("resource_ids")
@org.codehaus.jackson.annotate.JsonProperty("authorized_grant_types")
@org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class)
@com.fasterxml.jackson.annotation.JsonProperty("authorized_grant_types")
@org.codehaus.jackson.annotate.JsonProperty("redirect_uri")
@org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class)
@com.fasterxml.jackson.annotation.JsonProperty("redirect_uri")
@org.codehaus.jackson.annotate.JsonProperty("autoapprove")
@org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class)
@com.fasterxml.jackson.annotation.JsonProperty("autoapprove")
@org.codehaus.jackson.annotate.JsonProperty("access_token_validity")
@com.fasterxml.jackson.annotation.JsonProperty("access_token_validity")
private Integer accessTokenValiditySeconds;
@org.codehaus.jackson.annotate.JsonProperty("refresh_token_validity")
origin: OpenNMS/opennms

@XmlElement(name = "source")
@JsonProperty("source")
public List<Source> getSources() {
  return sources;
}
origin: apache/incubator-gobblin

/**
 * The EventhubRequest is a wrapper of given json string
 * This is required because when using eventhub REST api, the json object sent out
 * needs to be wrapped in an outer Body object. Refer to https://docs.microsoft.com/en-us/rest/api/eventhub/send-batch-events
 */

public class EventhubRequest {
  public EventhubRequest (String body) {
   this.body = body;
  }
  @JsonProperty
  public String body;

}

origin: com.atlassian.jira/jira-rest-api

@JsonIgnoreProperties (ignoreUnknown = true)
private static class Icon
{
  @JsonProperty
  private String url16x16;
  @JsonProperty
  private String title;
  @JsonProperty
  private String link;
}
origin: OpenNMS/opennms

  @XmlElement(name="node")
  @JsonProperty("node")
  public List<RequisitionNode> getObjects() {
    return super.getObjects();
  }
}
origin: camunda/camunda-bpm-platform

@JsonCreator
public JsonLocation(@JsonProperty("sourceRef") Object sourceRef,
          @JsonProperty("byteOffset") long totalBytes,
          @JsonProperty("charOffset") long totalChars,
          @JsonProperty("lineNr") int lineNr,
          @JsonProperty("columnNr") int columnNr)
{
  _sourceRef = sourceRef;
  _totalBytes = totalBytes;
  _totalChars = totalChars;
  _lineNr = lineNr;
  _columnNr = columnNr;
}
origin: twosigma/beakerx

@JsonProperty("connectionString")
public String getConnectionString() {
 return connectionString;
}
origin: com.atlassian.jira/jira-rest-api

  @JsonIgnoreProperties (ignoreUnknown = true)
  private static class Status
  {
    @JsonProperty
    private Boolean resolved;
    @JsonProperty
    private Icon icon = new Icon();
  }
}
origin: org.codehaus.jackson/jackson-mapper-asl

@Override
public String findSerializablePropertyName(AnnotatedField af)
{
  JsonProperty pann = af.getAnnotation(JsonProperty.class);
  if (pann != null) {
    return pann.value();
  }
  // Also: having JsonSerialize implies it is such a property
  // 09-Apr-2010, tatu: Ditto for JsonView
  if (af.hasAnnotation(JsonSerialize.class) || af.hasAnnotation(JsonView.class)) {
    return "";
  }
  return null;
}
origin: OpenNMS/opennms

  @XmlElement(name="node")
  @JsonProperty("node")
  public List<AvailabilityNode> getObjects() {
    return super.getObjects();
  }
}
origin: apache/phoenix

@JsonCreator
public TargetTableRef(@JsonProperty("logicalName") String logicalName,
  @JsonProperty("physicalName") String physicalName) {
  this.logicalName = logicalName;
  this.physicalName = physicalName;
}
origin: twosigma/beakerx

@JsonProperty("user")
public String getUser() {
 return user;
}
origin: com.atlassian.jira/jira-rest-api

@JsonIgnoreProperties (ignoreUnknown = true)
private static class Application
{
  @JsonProperty
  private String type;
  @JsonProperty
  private String name;
}
origin: org.codehaus.jackson/jackson-mapper-asl

@Override
public String findDeserializablePropertyName(AnnotatedField af)
{
  JsonProperty pann = af.getAnnotation(JsonProperty.class);
  if (pann != null) {
    return pann.value();
  }
  // Also: having JsonDeserialize implies it is such a property
  // 09-Apr-2010, tatu: Ditto for JsonView
  if (af.hasAnnotation(JsonDeserialize.class)
      || af.hasAnnotation(JsonView.class)
      || af.hasAnnotation(JsonBackReference.class)
      || af.hasAnnotation(JsonManagedReference.class)
      ) {
    return "";
  }
  return null;
}
origin: OpenNMS/opennms

  @XmlElement(name="snmpInterface")
  @JsonProperty("snmpInterface")
  public List<OnmsSnmpInterface> getObjects() {
    return super.getObjects();
  }
}
origin: org.jboss.seam.social/seam-social-facebook

@JsonCreator
VideoMixin(@JsonProperty("id") String id, @JsonProperty("from") Reference from, @JsonProperty("picture") String picture,
    @JsonProperty("embed_html") String embedHtml, @JsonProperty("icon") String icon,
    @JsonProperty("source") String source, @JsonProperty("created_time") Date createdTime,
    @JsonProperty("updated_time") Date updatedTime) {
}
org.codehaus.jackson.annotateJsonProperty

Most used methods

  • <init>
  • value

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • findViewById (Activity)
  • addToBackStack (FragmentTransaction)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Permission (java.security)
    Legacy security code; do not use.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JFrame (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now