question: get the json representation of the matched element . example : map ip : 127.0.0.1 , status :200 will return `` ip '' : `` 127.0.0.1 '' , `` status '' :200 if pretty is set to true , json will return prettyprint json string . concode_field_sep Gson GSON concode_elem_sep String subject concode_elem_sep Gson PRETTY_GSON concode_elem_sep Grok grok concode_elem_sep Matcher match concode_elem_sep int start concode_elem_sep Map<String,Object> capture concode_elem_sep Garbage garbage concode_elem_sep int end concode_elem_sep ThreadLocal<Match> matchHolder concode_elem_sep Match EMPTY concode_field_sep String getSubject concode_elem_sep void setSubject concode_elem_sep void setGrok concode_elem_sep Matcher getMatch concode_elem_sep int getStart concode_elem_sep void captures concode_elem_sep void cleanMap concode_elem_sep int getEnd concode_elem_sep void setStart concode_elem_sep Map<String,Object> toMap concode_elem_sep Boolean isNull concode_elem_sep void setMatch concode_elem_sep void setEnd concode_elem_sep Match getInstance concode_elem_sep String cleanString concode_elem_sep Match initialValue
target: String function ( Boolean arg0 ) { if ( capture == null ) { return "srini_string" ; } if ( capture . isEmpty ( ) ) { return "srini_string" ; } this . cleanMap ( ) ; Gson loc0 ; if ( arg0 ) { loc0 = PRETTY_GSON ; } else { loc0 = GSON ; } return loc0 . toJson ( capture ) ; }