Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,492 for ndjson (0.08 sec)

  1. docs/uk/docs/index.md

    * <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Необхідно, якщо Ви хочете використовувати `ORJSONResponse`.
    * <a href="https://github.com/esnme/ultrajson" target="_blank"><code>ujson</code></a> - Необхідно, якщо Ви хочете використовувати `UJSONResponse`.
    
    Ви можете встановити все це за допомогою `pip install fastapi[all]`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            final ProtwordsPager pager = copyBeanToNewBean(body, ProtwordsPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>()
                    .settings(protwordsService.getProtwordsList(body.dictId, pager).stream()
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            final KuromojiPager pager = copyBeanToNewBean(body, KuromojiPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>()
                    .settings(kuromojiService.getKuromojiList(body.dictId, pager).stream()
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

            validateApi(body, messages -> {});
            final UserPager pager = copyBeanToNewBean(body, UserPager.class);
            final List<User> list = userService.getUserList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

            final RelatedQueryPager pager = copyBeanToNewBean(body, RelatedQueryPager.class);
            final List<RelatedQuery> list = relatedQueryService.getRelatedQueryList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/vi/docs/index.md

    * <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - Server để chạy ứng dụng của bạn.
    * <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Bắt buộc nếu bạn muốn sử dụng `ORJSONResponse`.
    * <a href="https://github.com/esnme/ultrajson" target="_blank"><code>ujson</code></a> - Bắt buộc nếu bạn muốn sử dụng `UJSONResponse`.
    
    Bạn có thể cài đặt tất cả những dependency trên với `pip install "fastapi[all]"`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. docs/zh/docs/index.md

        * 因为 `q` 被声明为 `= None`,所以它是可选的。
        * 如果没有 `None` 它将会是必需的 (如 `PUT` 例子中的请求体)。
    * 对于访问 `/items/{item_id}` 的 `PUT` 请求,将请求体读取为 JSON 并:
        * 检查是否有必需属性 `name` 并且值为 `str` 类型 。
        * 检查是否有必需属性 `price` 并且值为 `float` 类型。
        * 检查是否有可选属性 `is_offer`, 如果有的话值应该为 `bool` 类型。
        * 以上过程对于多层嵌套的 JSON 对象同样也会执行
    * 自动对 JSON 进行转换或转换成 JSON。
    * 通过 OpenAPI 文档来记录所有内容,可被用于:
        * 交互式文档系统
        * 许多编程语言的客户端代码自动生成系统
    * 直接提供 2 种交互式文档 web 界面。
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/custom-response.md

    Por exemplo, vamos supor que você queira utilizar o <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, mas com algumas configurações personalizadas que não estão incluídas na classe `ORJSONResponse`.
    
    Vamos supor também que você queira retornar um JSON indentado e formatado, então você quer utilizar a opção `orjson.OPT_INDENT_2` do orjson.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

     */
    object HpackJsonUtil {
      @Suppress("unused")
      private val MOSHI =
        Moshi.Builder()
          .add(
            object : Any() {
              @ToJson fun byteStringToJson(byteString: ByteString) = byteString.hex()
    
              @FromJson fun byteStringFromJson(json: String) = json.decodeHex()
            },
          )
          .add(KotlinJsonAdapterFactory())
          .build()
      private val STORY_JSON_ADAPTER = MOSHI.adapter(Story::class.java)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/custom-response.md

    Takes some data and returns an `application/json` encoded response.
    
    This is the default response used in **FastAPI**, as you read above.
    
    ### `ORJSONResponse`
    
    A fast alternative JSON response using <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, as you read above.
    
    /// info
    
    This requires installing `orjson` for example with `pip install orjson`.
    
    ///
    
    ### `UJSONResponse`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top