Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,232 for orjson (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/es/docs/advanced/custom-response.md

    Puedes crear tu propia clase de response personalizada, heredando de `Response` y usándola.
    
    Por ejemplo, digamos que quieres usar [`orjson`](https://github.com/ijl/orjson) con algunas configuraciones.
    
    Digamos que quieres que devuelva JSON con sangría y formato, por lo que quieres usar la opción de orjson `orjson.OPT_INDENT_2`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/custom-response.md

    Например, предположим, что вы хотите использовать [`orjson`](https://github.com/ijl/orjson) с некоторыми настройками.
    
    Скажем, вы хотите, чтобы возвращался отформатированный JSON с отступами, то есть хотите использовать опцию orjson `orjson.OPT_INDENT_2`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  3. docs/uk/docs/advanced/custom-response.md

    Наприклад, скажімо, ви хочете використовувати [`orjson`](https://github.com/ijl/orjson) з деякими налаштуваннями.
    
    Припустімо, ви хочете, щоб повертався відформатований із відступами JSON, тож ви хочете використати опцію orjson `orjson.OPT_INDENT_2`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/custom-response.md

    Vous pouvez créer votre propre classe de réponse personnalisée, héritant de `Response`, et l'utiliser.
    
    Par exemple, disons que vous voulez utiliser [`orjson`](https://github.com/ijl/orjson) avec certains réglages.
    
    Disons que vous voulez renvoyer du JSON indenté et formaté, donc vous voulez utiliser l'option orjson `orjson.OPT_INDENT_2`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/custom-response.md

    ```json
    {
      "message": "Hello World"
    }
    ```
    
    もちろん、JSONの整形以外にも、これを活用するもっと良い方法が見つかるはずです。 😉
    
    ### `orjson` か レスポンスモデルか { #orjson-or-response-model }
    
    もし求めているのがパフォーマンスであれば、`orjson` レスポンスを使うより、[レスポンスモデル](../tutorial/response-model.md) を使うほうが良い場合が多いです。
    
    レスポンスモデルがあると、FastAPI は中間ステップ(他の場合に行われる `jsonable_encoder` による変換など)を介さずに、Pydantic を使ってデータをJSONにシリアライズします。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/custom-response.md

    Por exemplo, vamos supor que você queira usar [`orjson`](https://github.com/ijl/orjson) com algumas configurações.
    
    Vamos supor que você queira retornar um JSON indentado e formatado, então você quer utilizar a opção `orjson.OPT_INDENT_2` do orjson.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  7. docs/en/docs/release-notes.md

    So, a request with a content type of `text/plain` containing JSON data would be accepted and the JSON data would be extracted.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

         * @param dictId the dictionary ID
         * @param id the ID of the Kuromoji item to retrieve
         * @return JSON response containing the Kuromoji dictionary item
         */
        // GET /api/admin/dict/kuromoji/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String dictId, final long id) {
            return asJson(new ApiResult.ApiConfigResponse()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

         *
         * @param dictId identifier of the dictionary
         * @param id identifier of the entry
         * @return JSON response containing the entry
         */
        // GET /api/admin/dict/protwords/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String dictId, final long id) {
            return asJson(new ApiResult.ApiConfigResponse()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

         * Retrieves a specific user setting by ID.
         *
         * @param id the ID of the user setting to retrieve
         * @return JSON response containing the user setting
         */
        // GET /api/admin/user/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiResult.ApiConfigResponse().setting(userService.getUser(id).map(this::createEditBody).orElseGet(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top