public class RenderAsJSON extends SamplerResultTab implements ResultRenderer
SamplerResultTab.RowResult
activateSearchExtension, CLIENT_ERROR_COLOR, REDIRECT_COLOR, REQUEST_VIEW_COMMAND, results, resultsScrollPane, rightSide, searchTextExtension, SERVER_ERROR_COLOR, TEXT_COMMAND
Constructor and Description |
---|
RenderAsJSON() |
Modifier and Type | Method and Description |
---|---|
static String |
prettyJSON(String json)
Pretty-print JSON text
|
static String |
prettyJSON(String json,
String tabSeparator)
Pretty-print JSON text
|
void |
renderResult(SampleResult sampleResult) |
String |
toString() |
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setTextOptimized, setupTabPane
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
public void renderResult(SampleResult sampleResult)
renderResult
in interface ResultRenderer
public static String prettyJSON(String json)
json
- input textpublic static String prettyJSON(String json, String tabSeparator)
json
- input texttabSeparator
- String tab separatorpublic String toString()
toString
in interface ResultRenderer
toString
in class Object
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.