#NEWLINE# @ property #NEWLINE# def json( self ) : #NEWLINE# #INDENT# '\n        Return deserialized JSON body, if one included in the output\n        and is parseable.\n\n        ' #NEWLINE# if ( not hasattr ( self , '_json' ) ) : #NEWLINE# #INDENT# self . _json = None #NEWLINE# if ( COLOR in self ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if self . strip ( ) . startswith ( '{' ) : #NEWLINE# #INDENT# self . _json = json . loads ( self ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( self . count ( 'Content-Type:' ) == 1 ) and ( 'application/json' in self ) ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# j = self . strip ( ) [ self . strip ( ) . rindex ( '\r\n\r\n' ) : ] #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . _json = json . loads ( self ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return self . _json