Package io.kjson
Interface JSONValue
-
- All Implemented Interfaces:
public interface JSONValueInterface to represent a JSON value.
-
-
Method Summary
Modifier and Type Method Description abstract UnitappendTo(Appendable a)Append as a JSON string to an Appendable. StringtoJSON()Convert to a JSON string. Unitoutput(IntConsumer out)Output as a JSON string to an IntConsumer. UnitcoOutput(SuspendFunction1<Character, Unit> out)Output as a JSON string to a CoOutput. -
-
Method Detail
-
appendTo
abstract Unit appendTo(Appendable a)
Append as a JSON string to an Appendable.
-
output
Unit output(IntConsumer out)
Output as a JSON string to an IntConsumer.
-
coOutput
Unit coOutput(SuspendFunction1<Character, Unit> out)
Output as a JSON string to a CoOutput.
-
-
-
-