how to split the json value using c