Package 

Class JSONString

  • All Implemented Interfaces:
    io.kjson.JSONPrimitive , io.kjson.JSONValue , kotlin.CharSequence

    
    public final class JSONString
     implements JSONPrimitive<String>, CharSequence
                        

    A JSON string value.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class JSONString.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Integer length
      private final String value
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONString(String value)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Integer getLength()
      String getValue()
      Character get(Integer index)
      JSONString subSequence(Integer startIndex, Integer endIndex)
      Unit appendTo(Appendable a)
      Unit output(IntConsumer out)
      Unit coOutput(SuspendFunction1<Character, Unit> out)
      Boolean equals(Object other)
      Integer hashCode()
      String toString()
      • Methods inherited from class io.kjson.JSONPrimitive

        toJSON
      • Methods inherited from class io.kjson.JSONString

        chars, codePoints
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait