Package org.silverpeas.core.util
Class JSONCodec.JSONObject
- java.lang.Object
-
- org.silverpeas.core.util.JSONCodec.JSONObject
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JSONObject(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.fasterxml.jackson.databind.node.ObjectNode
getObjectNode()
JSONCodec.JSONObject
put(String fieldName, byte[] v)
JSONCodec.JSONObject
put(String fieldName, Boolean v)
JSONCodec.JSONObject
put(String fieldName, Double v)
JSONCodec.JSONObject
put(String fieldName, Float v)
JSONCodec.JSONObject
put(String fieldName, Integer v)
JSONCodec.JSONObject
put(String fieldName, Long v)
JSONCodec.JSONObject
put(String fieldName, Number v)
JSONCodec.JSONObject
put(String fieldName, Short v)
JSONCodec.JSONObject
put(String fieldName, String v)
JSONCodec.JSONObject
put(String fieldName, BigDecimal v)
JSONCodec.JSONObject
putJSONArray(String fieldName, UnaryOperator<JSONCodec.JSONArray> arrayBuilder)
JSONCodec.JSONObject
putJSONObject(String fieldName, UnaryOperator<JSONCodec.JSONObject> arrayBuilder)
JSONCodec.JSONObject
putNull(String fieldName)
-
-
-
Method Detail
-
getObjectNode
protected com.fasterxml.jackson.databind.node.ObjectNode getObjectNode()
-
putNull
public JSONCodec.JSONObject putNull(String fieldName)
-
put
public JSONCodec.JSONObject put(String fieldName, Number v)
-
put
public JSONCodec.JSONObject put(String fieldName, Short v)
-
put
public JSONCodec.JSONObject put(String fieldName, Integer v)
-
put
public JSONCodec.JSONObject put(String fieldName, Long v)
-
put
public JSONCodec.JSONObject put(String fieldName, Float v)
-
put
public JSONCodec.JSONObject put(String fieldName, Double v)
-
put
public JSONCodec.JSONObject put(String fieldName, BigDecimal v)
-
put
public JSONCodec.JSONObject put(String fieldName, String v)
-
put
public JSONCodec.JSONObject put(String fieldName, Boolean v)
-
put
public JSONCodec.JSONObject put(String fieldName, byte[] v)
-
putJSONArray
public JSONCodec.JSONObject putJSONArray(String fieldName, UnaryOperator<JSONCodec.JSONArray> arrayBuilder)
-
putJSONObject
public JSONCodec.JSONObject putJSONObject(String fieldName, UnaryOperator<JSONCodec.JSONObject> arrayBuilder)
-
-