public class JSONFunction extends Object implements com.github.openjson.JSONString, CharSequence, IClusterable
Constructor and Description |
---|
JSONFunction(CharSequence value)
Function to be used to output the json value without quotes
|
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toJSONString() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public JSONFunction(CharSequence value)
value
- the valuepublic String toString()
toString
in interface CharSequence
toString
in class Object
public String toJSONString()
toJSONString
in interface com.github.openjson.JSONString
public int length()
length
in interface CharSequence
public char charAt(int index)
charAt
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.