String value = "{first_name = naresh,last_name = kumar,gender = male}"
Let's start
{
and }
from the String
>>first_name = naresh,last_name = kumar,gender = maleString
from ,
>> array of 3 elementarray
with 3
elementarray
and split each element by =
Map<String,String>
put each part separated by =
. first part as Key
and second part as Value