| 1 | name: Bug Report |
| 2 | description: Create a bug report |
| 3 | labels: |
| 4 | - 'kind: bug' |
| 5 | body: |
| 6 | - type: markdown |
| 7 | attributes: |
| 8 | value: > |
| 9 | Thanks for taking the time to fill out this bug report! |
| 10 | |
| 11 | Make sure you give it a short and specific **title** so that the report |
| 12 | is searchable and uniquely identifiable. |
| 13 | |
| 14 | Note that this form is for bug reports only. Please |
| 15 | [open a discussion](https://github.com/nlohmann/json/discussions/new) |
| 16 | for questions, feature requests, or support requests. |
| 17 | - type: textarea |
| 18 | id: summary |
| 19 | attributes: |
| 20 | label: Description |
| 21 | description: > |
| 22 | Please provide an abstract description of the issue to the developers, |
| 23 | and why you consider it to be a bug. Please include any specific links |
| 24 | to the documentation, JSON specification, or code. |
| 25 | validations: |
| 26 | required: true |
| 27 | - type: textarea |
| 28 | id: reproduce |
| 29 | attributes: |
| 30 | label: Reproduction steps |
| 31 | description: > |
| 32 | How do you trigger the bug? Please walk us through step by step. Be as |
| 33 | specific as possible. |
| 34 | validations: |
| 35 | required: true |
| 36 | - type: textarea |
| 37 | id: results |
| 38 | attributes: |
| 39 | label: Expected vs. actual results |
| 40 | description: > |
| 41 | Please describe what you expected to happen after the steps above and |
| 42 | what actually happened. |
| 43 | validations: |
| 44 | required: true |
| 45 | - type: textarea |
| 46 | id: code |
| 47 | attributes: |
| 48 | label: Minimal code example |
| 49 | description: > |
| 50 | If possible, provide a small and self-contained example that triggers |
| 51 | the bug. Please understand that we cannot analyze and debug large code |
| 52 | bases. Please do not paste screenshots here. |
| 53 | render: Shell |
| 54 | - type: textarea |
| 55 | id: output |
| 56 | attributes: |
| 57 | label: Error messages |
| 58 | description: > |
| 59 | Please provide any kind of error output (compilation errors, exception |
| 60 | messages, stack traces, etc.) which can help to diagnose the error. |
| 61 | render: Shell |
| 62 | - type: input |
| 63 | id: compiler |
| 64 | attributes: |
| 65 | label: Compiler and operating system |
| 66 | description: > |
| 67 | On which operating systems and compilers have you observed the issue? |
| 68 | Include as many relevant details about the environment you experienced |
| 69 | the bug in. Make sure you use a |
| 70 | [supported compiler](https://github.com/nlohmann/json#supported-compilers). |
| 71 | validations: |
| 72 | required: true |
| 73 | - type: input |
| 74 | id: version |
| 75 | attributes: |
| 76 | label: Library version |
| 77 | description: > |
| 78 | Which version of the library did you use? If it is a released version, |
| 79 | please enter the version number (e.g., 3.12.0). Otherwise, please enter |
| 80 | the commit hash. If you got the library from another source as the |
| 81 | GitHub repository (e.g., via a package manager), please also state |
| 82 | this. |
| 83 | validations: |
| 84 | required: true |
| 85 | - type: checkboxes |
| 86 | id: validation |
| 87 | attributes: |
| 88 | label: Validation |
| 89 | description: > |
| 90 | Please check these additional steps: |
| 91 | options: |
| 92 | - label: The bug also occurs if the latest version from the [`develop`](https://github.com/nlohmann/json/tree/develop) branch is used. |
| 93 | - label: I can successfully [compile and run the unit tests](https://github.com/nlohmann/json#execute-unit-tests). |