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, 'exposed_pipe_length': 2}

output_dict = {string : string, string : integer, string : integer }

in some cases the dictionary will have nested dictionaries or lists as
well. If it has, we will have to replace the key-values inside those nested
objects.

I am including the json file here.

I was struck by this a while ago. Please help me to resolve this.

Regards,
Prem.

-- 
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 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG%3DmdoCyUqpGTn55ToUrzO0op%3DWsyrYEybx7sv4k4SFrnd0AqA%40mail.gmail.com.

Attachment: package.json
Description: application/json

Reply via email to