#Python code to check the longest string for a given File

>>> print( max(open('D:/Personal/Python/file.txt'), key=len) )
{"id":1,"name":"Test program","notInterstingMember":"Don't care about this","anotherMember":100,"forgetThisField":999}
