Class JSONString

java.lang.Object
org.h2.util.json.JSONValue
org.h2.util.json.JSONString

public class JSONString extends JSONValue
JSON string.
  • Field Details

    • value

      private final String value
  • Constructor Details

    • JSONString

      JSONString(String value)
  • Method Details

    • addTo

      public void addTo(JSONTarget<?> target)
      Description copied from class: JSONValue
      Appends this value to the specified target.
      Specified by:
      addTo in class JSONValue
      Parameters:
      target - the target
    • getString

      public String getString()
      Returns the value.
      Returns:
      the value