Interface JsonValue

    • Method Detail

      • readJson

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

        static JsonValue 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