Re: Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread Kasper Laudrup
On 11/08/2021 21.20, Franck Tchouanga wrote: > I can help you. > Help me with what? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread Franck Tchouanga
I can help you. On Wed, Aug 11, 2021, 6:00 PM Kasper Laudrup wrote: > On 11/08/2021 15.54, chinna wrote: > > Hi All, > > > > I am actually working on a use case where I have to convert the JSON > > data into a dictionary and from that I will have to replace all the > > keys and values to the

Re: Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread Kasper Laudrup
On 11/08/2021 15.54, chinna wrote: > Hi All, > > I am actually working on a use case where I have to convert the JSON > data into a dictionary and from that  I will have to replace all the > keys and values to the data types. The data type is returned as a string with the builtin type()

Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread chinna
Hi All, I am actually working on a use case where I have to convert the JSON data into a dictionary and from that I will have to replace all the keys and values to the data types. For example: input_dict = {'segment_idenifier': 'Segment 2', 'exposed_pipe_outside_diam': 4,