Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for jsonfile (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                }
                final File jspFile = new File(getServletContext().getRealPath(path));
                if (!jspFile.exists()) {
                    throwValidationError(messages -> messages.addErrorsDesignJspFileDoesNotExist(GLOBAL), this::asListHtml);
                }
                return jspFile;
            } catch (final UnsupportedEncodingException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc.
    
    ## Using the `jsonable_encoder` in a `Response` { #using-the-jsonable-encoder-in-a-response }
    
    Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/encoder.md

    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
    
    For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                        designJspFileNameMap.entrySet().stream().forEach(e -> {
                            final File jspFile = getDesignJspFile("/WEB-INF/view" + key + "/" + e.getValue());
                            if (!jspFile.exists()) {
                                jspFile.getParentFile().mkdirs();
                                final File baseJspFile = getDesignJspFile("/WEB-INF/view/" + e.getValue());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

                return null;
            }
    
            @Override
            public jakarta.servlet.ServletRegistration.Dynamic addJspFile(String servletName, String jspFile) {
                return null;
            }
    
            @Override
            public <T extends jakarta.servlet.Servlet> T createServlet(Class<T> clazz) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                return null;
            }
    
            @Override
            public jakarta.servlet.ServletRegistration.Dynamic addJspFile(String servletName, String jspFile) {
                return null;
            }
    
            @Override
            public <T extends jakarta.servlet.Servlet> T createServlet(Class<T> clazz) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                return null;
            }
    
            @Override
            public jakarta.servlet.ServletRegistration.Dynamic addJspFile(String servletName, String jspFile) {
                return null;
            }
    
            @Override
            public <T extends jakarta.servlet.Servlet> T createServlet(Class<T> clazz) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

            * Before this, the return content was first passed through `jsonable_encoder` to ensure it was a "jsonable" object, like a `dict`, instead of an arbitrary object with attributes (like an ORM model). That's why you should make sure to update your Pydantic models for objects with attributes to use `orm_mode = True`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top