load( **optsdeserializes json object on the file-like object and returns it opts represents set of keyword arguments that can be specified to control the decoding process and are described next be aware that this function calls read(to consume the entire contents of because of thisit should not be used on any kind of streaming file such as socket where json data might be received as part of larger or ongoing data stream keyword argument description encoding encoding used to interpret any of the string values that are decoded by defaultthis is 'utf- boolean flag that determines whether or not literal (unescapednewlines are allowed to appear in json strings by defaultthis is truewhich means that an exception is generated for such strings subclass of jsondecoder to use for decoding only specified if you've created custom decoder by inheriting from jsondecoder any extra keyword arguments to load(are supplied to the class constructor function that' called with the result of every json object that is decoded by defaultthis is the built-in dict(function function that' called to decode json floating-point values by defaultthis is the built-in float(function function that' called to decode json integer values by defaultthis is the built-in int(function function that' called to decode json constants such as 'nan''true''false'etc strict cls object_hook parse_float parse_int parse_constant loads( **optsthe same as load(except that an object is deserialized from the string although these functions share the same names as functions from the pickle and marshal modules and they serialize datathey are not used in the same way specificallyyou should not use dump(to write more than one json-encoded object to the same file similarlyload(cannot be used to read more than one json-encoded object from the same file (if the input file has more than one object in ityou'll get an errorjson-encoded objects should be treated in the same manner as html or xml for exampleyou usually don' take two completely separate xml documents and just concatenate them together in the same file if you want to customize the encoding or decoding processinherit from these base classesjsondecoder(**optsa class that decodes json data opts represents set of keyword arguments that are identical to those used by the load(function an instance of jsondecoder has the following two methodsd decode(sreturns the python representation of the json object in is string lib fl ff