congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ObjectNode.numberNode
Code IndexAdd Tabnine to your IDE (free)

How to use
numberNode
method
in
org.codehaus.jackson.node.ObjectNode

Best Java code snippets using org.codehaus.jackson.node.ObjectNode.numberNode (Showing top 20 results out of 315)

origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, int v) { _put(fieldName, numberNode(v)); }
origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, float v) { _put(fieldName, numberNode(v)); }
origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, long v) { _put(fieldName, numberNode(v)); }
origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, double v) { _put(fieldName, numberNode(v)); }
origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, BigDecimal v) {
  if (v == null) {
    putNull(fieldName);
  } else {
    _put(fieldName, numberNode(v));
  }
}
origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Float value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.floatValue()));
  }
}

origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Long value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.longValue()));
  }
}

origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Double value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.doubleValue()));
  }
}

origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Integer value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.intValue()));
  }
}

origin: camunda/camunda-bpm-platform

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, int v) { _put(fieldName, numberNode(v)); }
origin: camunda/camunda-bpm-platform

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, long v) { _put(fieldName, numberNode(v)); }
origin: camunda/camunda-bpm-platform

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, float v) { _put(fieldName, numberNode(v)); }
origin: camunda/camunda-bpm-platform

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, double v) { _put(fieldName, numberNode(v)); }
origin: camunda/camunda-bpm-platform

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, BigDecimal v) {
  if (v == null) {
    putNull(fieldName);
  } else {
    _put(fieldName, numberNode(v));
  }
}
origin: camunda/camunda-bpm-platform

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Integer value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.intValue()));
  }
}

origin: camunda/camunda-bpm-platform

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Float value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.floatValue()));
  }
}

origin: camunda/camunda-bpm-platform

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Long value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.longValue()));
  }
}

origin: camunda/camunda-bpm-platform

/**
 * Alternative method that we need to avoid bumping into NPE issues
 * with auto-unboxing.
 * 
 * @since 1.9
 */
public void put(String fieldName, Double value) {
  if (value == null) {
    _put(fieldName, nullNode());
  } else {
    _put(fieldName, numberNode(value.doubleValue()));
  }
}

origin: org.codehaus.jackson/jackson-mapper-lgpl

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, BigDecimal v) {
  if (v == null) {
    putNull(fieldName);
  } else {
    _put(fieldName, numberNode(v));
  }
}
origin: com.barchart.wrap/barchart-wrap-jackson

/**
 * Method for setting value of a field to specified numeric value.
 */
public void put(String fieldName, BigDecimal v) {
  if (v == null) {
    putNull(fieldName);
  } else {
    _put(fieldName, numberNode(v));
  }
}
org.codehaus.jackson.nodeObjectNodenumberNode

Popular methods of ObjectNode

  • put
    Method for setting value of a field to specified binary value
  • get
  • getFields
    Method to use for accessing all fields (with both names and values) of this JSON Object.
  • toString
  • putArray
    Method that will construct an ArrayNode and add it as a field of this ObjectNode, replacing old valu
  • has
  • remove
    Method for removing specified field properties out of this ObjectNode.
  • objectNode
  • size
  • <init>
  • arrayNode
  • putObject
    Method that will construct an ObjectNode and add it as a field of this ObjectNode, replacing old val
  • arrayNode,
  • putObject,
  • nullNode,
  • path,
  • putNull,
  • POJONode,
  • _put,
  • binaryNode,
  • booleanNode,
  • equals

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • findViewById (Activity)
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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