Class JsonLiteral
- java.lang.Object
-
- de.businesscode.bcdui.upload.data.steps.JsonLiteral
-
public class JsonLiteral extends java.lang.Object
JSON literal helper to write safe JSON object
-
-
Constructor Summary
Constructors Constructor Description JsonLiteral()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonLiteral
set(java.lang.String property, java.lang.Object value)
sets propertyjava.lang.String
toJSONString()
-
-
-
Method Detail
-
set
public JsonLiteral set(java.lang.String property, java.lang.Object value)
sets property- Parameters:
property
- - plain property map i.e. "key", dotted not allowedvalue
-- Returns:
-
toJSONString
public java.lang.String toJSONString()
- Returns:
- current state as JSON
-
-