| 494 | } |
| 495 | |
| 496 | interface JsonTextBoxProps { |
| 497 | title: "parameters" | "responses" | "request_body_contents" | "keys_to_keep"; |
| 498 | validJSON: boolean; |
| 499 | setValidJSON: (valid: boolean) => void; |
| 500 | action: Action; |
| 501 | setLocalAction: (action: Action) => void; |
| 502 | disabled?: boolean; |
| 503 | } |
| 504 | |
| 505 | const textToJson = (text: string) => { |
| 506 | return isJsonString(text) |
nothing calls this directly
no outgoing calls
no test coverage detected