jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: Render JSON issue
Date Mon, 16 Jul 2018 16:36:22 GMT


Am 16.07.2018 um 10:02 schrieb Jmeter Tea:
> About Render JSON option in View Results Tree,
> RenderAsJSON have TAB_SEPARATOR = ":   " This means that when rendering
> JSON it creates an invalid JSON with `:` characters
>
> {   "code":"1", "message":"Not found" }
>
> Will be render as
>
> {:   "code":"1",:   "message":"Not found"}
>
> Is there a reason for `:` characters or can it be removed to create a valid
> JSON?
> Actually what's the purpose of JSON render? If the response is JSON it'll
> be displayed as JSON
I think the purpose is to highlight indentation, but it is probably 
better to change it to a simple four space "tab".

Felix

>
> Thank you
>


Mime
View raw message