{key1:value, key2:value1,value2, key3:data, key4:value, time: 13:10:05, Location, key5:value1,value2, key6:value}
I want to parse data into key and value pairs.
The keys can have any name and so is value. Value can have commas and colons as well so you don't have any parameter to separate it.
see the above example string. Key value pairs are also no enclosed in ""
I'm pretty good with coding but this problem is becoming a challenge for me!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…