About 50 results
Open links in new tab
  1. Is there any standard for JSON API response format?

    Do standards or best practices exist for structuring JSON responses from an API? Obviously, every application's data is different, so that much I'm not concerned with, but rather the "response

  2. sql - How to pretty format JSON in Oracle? - Stack Overflow

    I wanted to know if there is any way to format a JSON in Oracle (as does this web site example) In XML I used: SELECT XMLSERIALIZE(Document XMLTYPE(V_RESPONSE) AS CLOB INDENT SIZE = …

  3. How do I get formatted JSON in .NET using C#? - Stack Overflow

    Apr 18, 2010 · 2025 Update For those who ask how I get formatted JSON in .NET using C# and want to see how to use it right away and one-line lovers. Here are the indented JSON string one-line codes: …

  4. Which JSON content type do I use? - Stack Overflow

    JSON is a domain-specific language (DSL) and a data format independent of JavaScript, and as such has its own MIME type, application/json. Respect for MIME types is of course client driven, so …

  5. PostgreSQL return result set as JSON array? - Stack Overflow

    I would like to have PostgreSQL return the result of a query as one JSON array. Given create table t (a int primary key, b text); insert into t values (1, 'value1'); insert into t values (2, 'val...

  6. java - JSON Structure for List of Objects - Stack Overflow

    I would like to know, whats the right structure for a list of objects in JSON. We are using JAXB to convert the POJO's to JSON. Here is the choices, Please direct me what is right. foos: [ ...

  7. Are multi-line strings allowed in JSON? - Stack Overflow

    Is it possible to have multi-line strings in JSON? It's mostly for visual comfort so I suppose I can just turn word wrap on in my editor, but I'm just kinda curious. I'm writing some data files in ...

  8. How can I get LLM to only respond in JSON strings?

    Nov 2, 2023 · The example below does not use initializeAgentExecutorWithOptions, but will ensure that the output is processed as JSON without specifying this explicitly in your system prompt. How it …

  9. What is the "right" JSON date format? - Stack Overflow

    If you have control over the generated json, for example, you provide data to other systems in json format, choosing 8601 as the date interchange format is a good choice.

  10. HTTP requests and JSON parsing in Python - Stack Overflow

    Jun 17, 2011 · The requests Python module takes care of both retrieving JSON data and decoding it, due to its builtin JSON decoder. Here is an example taken from the module's documentation: