Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 354 for json (0.13 sec)

  1. README.md

    ----------------
    
    This program posts data to a service. [Full source][post_example].
    
    ```java
    public static final MediaType JSON = MediaType.get("application/json");
    
    OkHttpClient client = new OkHttpClient();
    
    String post(String url, String json) throws IOException {
      RequestBody body = RequestBody.create(json, JSON);
      Request request = new Request.Builder()
          .url(url)
          .post(body)
          .build();
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/encoder.md

    Функция не возвращает большой `str`, содержащий данные в формате JSON (в виде строки). Она возвращает стандартную структуру данных Python (например, `dict`) со значениями и подзначениями, которые совместимы с JSON.
    
    !!! note "Технические детали"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:56:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/encoder.md

    Вона не повертає велику строку `str`, яка містить дані у форматі JSON (як строка). Вона повертає стандартну структуру даних Python (наприклад `dict`) із значеннями та підзначеннями, які є сумісними з JSON.
    
    !!! note "Примітка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. docs/uk/docs/index.md

    * Для запитів `PUT` із `/items/{item_id}`, читає вміст як JSON:
        * Перевірить, чи має обов'язковий атрибут `name` тип `str`.
        * Перевірить, чи має обов'язковий атрибут `price` тип `float`.
        * Перевірить, чи існує необов'язковий атрибут `is_offer` та чи має він тип `bool`.
        * Усе це також працюватиме для глибоко вкладених об'єктів JSON.
    * Автоматично конвертує із та в JSON.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  5. docs/fr/docs/index.md

    <small>* estimation basée sur des tests d'une équipe de développement interne, construisant des applications de production.</small>
    
    ## Sponsors
    
    <!-- sponsors -->
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  6. docs/de/docs/how-to/general.md

    ## Daten in etwas JSON-kompatibles konvertieren
    
    Um Daten in etwas JSON-kompatibles zu konvertieren, lesen Sie die Dokumentation unter [Tutorial – JSON-kompatibler Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    ## OpenAPI-Metadaten – Dokumentation
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:18:42 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/additional-responses.md

    			- 媒体类型的密钥,例如 `application/json` ,它包含另一个`JSON`对象作为值,该对象包含:
    				- 一个键` schema` ,它的值是来自模型的`JSON Schema`,正确的位置在这里。
    					- **FastAPI**在这里添加了对OpenAPI中另一个地方的全局JSON模式的引用,而不是直接包含它。这样,其他应用程序和客户端可以直接使用这些JSON模式,提供更好的代码生成工具等。
    
    
    **在OpenAPI中为该路径操作生成的响应将是:**
    
    ```json hl_lines="3-12"
    {
        "responses": {
            "404": {
                "description": "Additional Response",
                "content": {
                    "application/json": {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:53:39 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/schema-extra-example.md

    Поля `example` как такового не существует в стандартах **JSON Schema**. В последних версиях JSON-схемы определено поле <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a>, но OpenAPI 3.0.3 основан на более старой версии JSON-схемы, которая не имела поля `examples`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

        }
    }
    
    def currentUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/current-upgraded-properties.json")
    def baselineUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/baseline-upgraded-properties.json")
    def extractGradleApiInfo = tasks.register("extractGradleApiInfo", gradlebuild.binarycompatibility.ExtractGradleApiInfoTask) {
        currentDistributionJars = currentDistroJars
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/schema-extra-example.md

    ### JSON Schemas Feld `examples`
    
    Aber dann fügte JSON Schema ein <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a>-Feld zu einer neuen Version der Spezifikation hinzu.
    
    Und dann basierte das neue OpenAPI 3.1.0 auf der neuesten Version (JSON Schema 2020-12), die dieses neue Feld `examples` enthielt.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top