Package com.yahoo.prelude.hitfield
Class JSONString
java.lang.Object
com.yahoo.prelude.hitfield.JSONString
- All Implemented Interfaces:
com.yahoo.data.access.Inspectable
A JSON wrapper. Contains XML-style rendering of a JSON structure.
- Author:
- Steinar Knutsen
-
Constructor Summary
ConstructorDescriptionJSONString
(com.yahoo.data.access.Inspector value) JSONString
(String content) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.com.yahoo.data.access.Inspector
inspect()
void
setParsedJSON
(Object parsedJSON) Deprecated, for removal: This API element is subject to removal in a future version.toString()
-
Constructor Details
-
JSONString
public JSONString(com.yahoo.data.access.Inspector value) -
JSONString
- Throws:
IllegalArgumentException
- Does not accept null content
-
-
Method Details
-
inspect
public com.yahoo.data.access.Inspector inspect()- Specified by:
inspect
in interfacecom.yahoo.data.access.Inspectable
-
toString
-
fillWeightedSetItem
-
getContent
-
getParsedJSON
Deprecated, for removal: This API element is subject to removal in a future version.UsegetContent()
instead and parse content yourself -
setParsedJSON
Deprecated, for removal: This API element is subject to removal in a future version. -
renderFromInspector
-
getContent()
instead and parse content yourself