Codota Logo
ObjectNode.putNull
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain ObjectNode
private void myMethod () {
ObjectNode o =
  • Codota IconJsonNodeFactory instance;instance.objectNode()
  • Codota IconObjectMapper mapper;mapper.createObjectNode()
  • Codota IconArrayNode arrayNode;arrayNode.addObject()
  • Smart code suggestions by Codota
}
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

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

/**
 * Method for setting value of a field to specified String value.
 */
public void put(String fieldName, String v) {
  if (v == null) {
    putNull(fieldName);
  } else {
    _put(fieldName, textNode(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: 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));
  }
}
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: ovea-deprecated/jetty-session-redis

/**
 * 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: ovea-deprecated/jetty-session-redis

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

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

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

/**
 * Method for setting value of a field to specified binary value
 */
public void put(String fieldName, byte[] v) {
  if (v == null) {
    putNull(fieldName);
  } else {
    _put(fieldName, binaryNode(v));
  }
}
origin: de.mhus.lib/mhu-lib-core

try {
  if (value == null)
    to.putNull(name);
  else
  if (value instanceof Boolean)
origin: de.mhus.lib/mhu-lib-core

level++;
if (value == null || value instanceof NullValue) {
  node.putNull(name);
  return;
origin: de.mhus.lib/mhu-lib-core

protected void putPojoValue(ObjectNode out, String name, Object value, TransformHelper helper) {
  if (value == null) 
    out.putNull(name);
  else
  if (value instanceof Byte)
org.codehaus.jackson.nodeObjectNodeputNull

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,
  • POJONode,
  • _put,
  • binaryNode,
  • booleanNode,
  • equals

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Notification (javax.management)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now