code: public JsonWriter value(boolean value) {
      try {
        stream.value(value);
        return this;
      } catch (Exception e) {
        throw rethrow(e);
      }
    }
docs: Encodes {@code value}. Output is <code>true</code> or <code>false</code>.
  
  @throws org.sonar.api.utils.text.WriterException on any failure