Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Displaying multiple JSON strings #93

rennerg started this conversation in Ideas
Discussion options

Would it be possible to have this plugin support multiple JSON objects? To illustrate, the plugin cannot handle this:

{"@timestamp":"2021-01-07T15:42:18.0187523+00:00","level":"Information","messageTemplate":"Sending HTTP request {HttpMethod} {Uri}","message":"Sending HTTP request "POST" http://workflow-manager/v1/WorkflowDefinitions/name/WD-contouring-process/instances","fields":{"HttpMethod":"POST","Uri":"http://workflow-manager/v1/WorkflowDefinitions/name/WD-contouring-process/instances","EventId":{"Id":100,"Name":"RequestStart"},"SourceContext":"System.Net.Http.HttpClient.IWorkflowDefinitionsClient.ClientHandler","Scope":["HTTP POST http://workflow-manager/v1/WorkflowDefinitions/name/WD-contouring-process/instances"]}}
{"@timestamp":"2021-01-07T15:42:18.0965985+00:00","level":"Information","messageTemplate":"Received HTTP response after {ElapsedMilliseconds}ms - {StatusCode}","message":"Received HTTP response after 77.8249ms - Created","fields":{"ElapsedMilliseconds":77.8249,"StatusCode":"Created","EventId":{"Id":101,"Name":"RequestEnd"},"SourceContext":"System.Net.Http.HttpClient.IWorkflowDefinitionsClient.ClientHandler","HttpMethod":"POST","Uri":"http://workflow-manager/v1/WorkflowDefinitions/name/WD-contouring-process/instances","Scope":["HTTP POST http://workflow-manager/v1/WorkflowDefinitions/name/WD-contouring-process/instances"]}}

The "Show JSON Viewer" is only able to parse the first object in the viewer. The "Format JSON" just throws a parsing error and formats nothing.

Could this be a quick enhancement?

Thanks

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.