public class Value extends JsonObject
Constructor and Description |
---|
Value(Object o)
Creates a Value with value=o
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Value |
fromJson(com.fasterxml.jackson.databind.JsonNode node)
Creates a value from a json node
If the node is decimal, double, or float, create s a BigDecimal value.
|
Object |
getValue()
Returns the value
|
int |
hashCode() |
com.fasterxml.jackson.databind.JsonNode |
toJson()
Creates the appropriate json node based on the type of the value
|
getFactory, getSourceNode, toString
public Value(Object o)
public Object getValue()
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson
in class JsonObject
public static Value fromJson(com.fasterxml.jackson.databind.JsonNode node)
Copyright © 2014. All rights reserved.