Don't try that shit. I used to be obese, and I managed to lose all of the weight, but I did a lot of stupid shit on the way there.
1: if you eat too little you're gonna end up being skinnyfat since your body will burn muscle as well as fat. You're gonna lose weight, but not a lot of it will be fat, and the most important thing to focus on is reducing your bodyfat percentage. Your caloric deficit should be at a deficit of 500-750 calories less than your TDEE a day. If you're obese like I was then you can afford to have a higher deficit, but unless you have a BMI that high, I wouldn't recommend it.
2: you're gonna end up being severely malnourished if you restrict your diet too much. Focus on protein to conserve muscle, and micronutrients so you don't drop dead from scurvy. Your carb and fat percentage is whatever, it doesn't really matter.
3: you're gonna end up cheating on your diet and binging if you restrict your intake that much.