Class JsonBoolean

    • Field Detail

      • TRUE

        public static final JsonBoolean TRUE
        JSON true.
      • FALSE

        public static final JsonBoolean FALSE
        JSON false.
    • Method Detail

      • value

        public boolean value()
        Returns:
        true or false.
      • readJson

        public static JsonBoolean readJson​(BinaryReader source)
                                    throws DtoReadException
        Reads "false" from given source.
        Parameters:
        source - Source containing "false" at the current read offset, ignoring any whitespace.
        Returns:
        Decoded JSON false.
        Throws:
        DtoReadException - If the source does not contain the word "false" at the current read offset, or if the source could not be read.
      • readJson

        public static JsonBoolean readJson​(se.arkalix.internal.dto.json.JsonTokenBuffer buffer)
                                    throws DtoReadException
        Internal API. Might change in breaking ways between patch versions of the Kalix library. Use is not advised.
        Throws:
        DtoReadException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object