About 607,000 results
Open links in new tab
  1. Use Azure DevOps Library to update variables in .json file using ...

    Sep 25, 2024 · To use the FileTransform@2 task to perform variable substitution in JSON file, you need to must define the variable using JSONPath expressions. See below example as reference:

  2. How to write a JSON file in C#? - Stack Overflow

    Jun 4, 2013 · The example in Liam's answer saves the file as string in a single line. I prefer to add formatting. Someone in the future may want to change some value manually in the file. If you …

  3. Can comments be used in JSON? - Stack Overflow

    When JSON is used for human-intended configuration files, they should be annotated for humans to understand better. Annotated, such file is no longer valid JSON, but there are solutions. For …

  4. How do you correctly set Swagger examples in ASP.NET Core?

    Feb 28, 2022 · Is setting the defined example in all instances of the address model even if I don't use the SwaggerRequestExample attribute annotated on my controller endpoint. I'm currently …

  5. How to read json file into java with simple JSON library

    Jun 7, 2012 · The whole file is an array and there are objects and other arrays (e.g. cars) in the whole array of the file. As you say, the outermost layer of your JSON blob is an array. …

  6. How to read JSON file with fetch() in javascript? - Stack Overflow

    How can I read local JSON file with fetch function in javascript? I have JSON file with some dump data and one function which read JSON file on server. For example : readJson () { console.log(t...

  7. python - Reading JSON from a file - Stack Overflow

    For that, I would recommend running the file through a JSON validator. There are also solutions for fixing JSON like for example How do I automatically fix an invalid JSON string?.

  8. rest - How do I POST JSON data with cURL? - Stack Overflow

    I use Ubuntu and installed cURL on it. I want to test my Spring REST application with cURL. I wrote my POST code at the Java side. However, I want to test it with cURL. I am trying to post …

  9. Loading and parsing a JSON file with multiple JSON objects

    You probably don't want to append each result to one list and then process everything if your file is really big. If you have a file containing individual JSON objects with delimiters in-between, …

  10. 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: [ ...