#NEWLINE# def unmarshal( self , v ) : #NEWLINE# #INDENT# '\n        Convert the value from parsed JSON structure to native python representation.\n\n        By default this will leave the value as-is since the JSON parsing routines\n        typically convert to native types. The exception may be date strings or other\n        more complex types, where subclasses will override this behavior.\n        ' #NEWLINE# if self . units : #NEWLINE# #INDENT# if ( not isinstance ( v , Quantity ) ) : #NEWLINE# #INDENT# v = self . units ( v ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( not isinstance ( v , self . type ) ) : #NEWLINE# #INDENT# v = self . type ( v ) #NEWLINE# #UNINDENT# #UNINDENT# return v