Class JSONString

java.lang.Object
com.yahoo.prelude.hitfield.JSONString
All Implemented Interfaces:
com.yahoo.data.access.Inspectable

public class JSONString extends Object implements com.yahoo.data.access.Inspectable
A JSON wrapper. Contains XML-style rendering of a JSON structure.
Author:
Steinar Knutsen
  • Constructor Details

    • JSONString

      public JSONString(com.yahoo.data.access.Inspector value)
    • JSONString

      public JSONString(String content)
      Throws:
      IllegalArgumentException - Does not accept null content
  • Method Details

    • inspect

      public com.yahoo.data.access.Inspector inspect()
      Specified by:
      inspect in interface com.yahoo.data.access.Inspectable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fillWeightedSetItem

      public boolean fillWeightedSetItem(WeightedSetItem set)
    • getContent

      public String getContent()
    • renderFromInspector

      public String renderFromInspector()