Package com.yahoo.prelude.hitfield
Class JSONString
- java.lang.Object
-
- com.yahoo.prelude.hitfield.JSONString
-
- All Implemented Interfaces:
com.yahoo.data.access.Inspectable
public class JSONString extends java.lang.Object implements com.yahoo.data.access.Inspectable
A JSON wrapper. Contains XML-style rendering of a JSON structure.- Author:
- Steinar Knutsen
-
-
Constructor Summary
Constructors Constructor Description JSONString(com.yahoo.data.access.Inspector value)
JSONString(java.lang.String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
fillWeightedSetItem(WeightedSetItem item)
java.lang.String
getContent()
java.lang.Object
getParsedJSON()
Deprecated, for removal: This API element is subject to removal in a future version.UsegetContent()
instead and parse content yourselfcom.yahoo.data.access.Inspector
inspect()
java.lang.String
renderFromInspector()
void
setParsedJSON(java.lang.Object parsedJSON)
Deprecated, for removal: This API element is subject to removal in a future version.java.lang.String
toString()
-
-
-
Method Detail
-
inspect
public com.yahoo.data.access.Inspector inspect()
- Specified by:
inspect
in interfacecom.yahoo.data.access.Inspectable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
fillWeightedSetItem
public boolean fillWeightedSetItem(WeightedSetItem item)
-
getContent
public java.lang.String getContent()
-
getParsedJSON
@Deprecated(forRemoval=true, since="7") public java.lang.Object getParsedJSON()
Deprecated, for removal: This API element is subject to removal in a future version.UsegetContent()
instead and parse content yourself
-
setParsedJSON
@Deprecated(forRemoval=true, since="7") public void setParsedJSON(java.lang.Object parsedJSON)
Deprecated, for removal: This API element is subject to removal in a future version.
-
renderFromInspector
public java.lang.String renderFromInspector()
-
-